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%,MOUNTPOINTlsblkabbreviates LiSt BLocK devices- the
SIZEcolumn helps you identify your physical drive - the
NAMEidentifies the (sub)volume thoughout linux - the
MOUNTPOINTcolumn tells you the path where the (sub)volume is mounted
Sources:
- 2023-07-01: NextCloudPi moving data directory - ℹ️ Support / 📦 Appliances (Docker, Snappy, VM, NCP, AIO) - Nextcloud community
- Tutorial: How to migrate mass data to a new NextCloud server - 📑 How to - Nextcloud community
Related:
Tags: Setup my PlutosCloud