Store Nextcloud’s data like files and calendar on an external drive

  • use a SSD or a RAID setup
  • use the BTRFS filesystem for easy snapshots

Change your data dir to a new location, like a USB or SATA drive

  • Open CONFIG > nc-datadir
  • /media/redCloudDrive/ncdata =: Data directory

Scheduled datadir BTRFS snapshots

  • Open BACKUPS > nc-snapshot-auto
  • Active

Store Nextcloud’s system and data backups on another external drive

  • use a HDD

Set periodic backups

  • Open BACKUP > nc-backup-auto
  • Active
  • /media/blackBackupDrive/ncp-backups =: Destination Directory
  • Include data

View path to different drives

List connected block devices (SSD’s, HDD’s) and their mount points

  • connect to NextcloudPi Shell
lsblk --output NAME,FSTYPE,LABEL,MODEL,UUID,FSAVAIL,FSUSE%,MOUNTPOINT
  • lsblk abbreviates LiSt BLocK devices
  • the SIZE column helps you identify your physical drive
  • the NAME identifies the (sub)volume thoughout linux
  • the MOUNTPOINT column tells you the path where the (sub)volume is mounted

Sources:

Related:

Tags: Setup my PlutosCloud