files_snapshots
files_snapshots copied to clipboard
Support snapshots for external local storage / multiple snapshot paths
It would be great if it was possible to support external local storage with the snapshotfeature. Currently only one path is possible, but it should be expanded to allow multiple paths.
Hi,
I use Btrfs subvolumes mounted at different parts of my Nextcloud installation. I also use external local storages.
For example. These are different subvolumes and volumes. /www/mydomain.com /www/mydomain.com/nextcloud/data /mnt/userData/Documents (files_external) /mnt/media/video (files_external)
For example the snapshots would be like this. root /www/mydomain.com/nextcloud/data/ snapshot /mnt/systemvol/snapshots/nc_data/nc_data.20191026T0000/ snapshot /mnt/systemvol/snapshots/nc_data/nc_data.20191027T0000/ snapshot /mnt/systemvol/snapshots/nc_data/nc_data.20191031T1800/ snapshot /mnt/systemvol/snapshots/nc_data/nc_data.20191031T1900/ snapshot /mnt/systemvol/snapshots/nc_data/nc_data.20191031T2100/ And of course similar with all mount points.
Snapshots are indeed used for backups. But they are also useful for revisions or versions history. This way we can recover files that are overwritten or changed several times. This is what I wanted to use files_snapshots app for. Users can then go back and recover deleted or changed files and folders without having to ask the admin :)
Thanks!
On 2019-10-31 16:29, Arne Hamann wrote:
Can you give me some more reference which snapshot-feature your referring to? Aren't snapshots used for backups? Than it would make sense to just scan one (the newest) snapshot, or?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/icewind1991/files_snapshots/issues/22?email_source=notifications&email_token=AALGVXWLZZS6OWAUCLPCI4LQRL2WPA5CNFSM4JGBRGU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECYGM5Y#issuecomment-548431479, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALGVXVRFCAHXBGXNMNR5B3QRL2WPANCNFSM4JGBRGUQ.
I'm also Interrested in this feature. In my planed setup I want to Include the Data using sftp or smb, from another machine, therefor support for other/all types of external storage would be needed.