files_snapshots icon indicating copy to clipboard operation
files_snapshots copied to clipboard

Support snapshots for external local storage / multiple snapshot paths

Open ghost opened this issue 5 years ago • 2 comments

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.

ghost avatar Oct 28 '19 23:10 ghost

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.

ghost avatar Oct 31 '19 20:10 ghost

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.

hiFloh avatar Jan 07 '21 21:01 hiFloh