Hi, I’m currently using an Odroid HC-1 with a sata connected 4tb harddrive for data storage. I’m looking at a backup strategy for data and settings.
I’ve read Nacho’s post https://ownyourbits.com/2018/10/19/nextcloudpi-backup-strategies/ and wanted to go the BTRFS route. When I plugged my external usb harddrive into the Odroid I couldn’t find a way to just format the external drive using the WebUI. So I ran an Ubuntu Live CD to get Linux long enough to format the harddrive with BTRFS. I then attempted to plug-in the harddrive back into the Odroid but rather than calling it USBDrive1 it bumped my internal HDD to USBDrive1 and called the external USBDrive. This caused Nextcloud to throw a fit because it could no longer find the datadir. Is there a way to use NextcloudPI automount to mount the external harddrive as USBDrive1 as opposed to USBDrive?
Alternately I have a HTPC running Windows 10 which would be a preferable place to back everything up to but I cannot seem to get WinBTRFS to install properly.
Unfortunately I don’t know enough about Linux to create scripts or run Cron jobs, but is there another way to backup everything to the HTPC?
From what I understand the Rsync only backs-up the Datadir.
When formatting your drive, use a LABEL to name your drive.
nc-automount will mount your drive as /media/yourLABEL
If you use /media/yourLABEL/ncdata to move data to, it can no longer be confused by other drives mounted after.
For backups: I use nc-backup-auto without data for config and database and nc-snapshot-auto and nc-snapshot-sync for data. Works for me