-
-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set backup Destination #2057
Comments
Seems reasonable, just keep in mind that the writable areas are pretty limited due to confinement, so we need to handle errors well. |
currently I'm using an alternative "snap-backup" skript for this: snap stop 'nextcloud' this works fine in weekly automatic (cronjob as root) mode and has the added convenience of easy snap transfer to different server when needed. thus always 4 weeks of snap-backup on external medium.
|
Hello, Little off topic, but when taking about different methods of backup, I have a question on data directory items. Off late, due to HDD corruption issue, I was getting I/O error (read / write) while trying to issue full snap backup. When I dug deep, as to identify where exactly, I found a particular user data folder was having issue while copying data from. So I decided to take snap nextcloud backup of Database and Config only and manually copy the user data directories from /data folder to another fresh installation and then restore the snap backup there. It worked, yes the said problematic user account needed to upload the files again. But the curious thing is an extra appdata folder.
Now I have two of them. I didn't copy the appdata from previous installation. I only copied the individual user folders. But after restoration from snap DB / Config backup, I see the new installation has two of these directories. How to figure out which one is in use and which one is safe to delete? Thanks. |
I'd like to bump this issue with a link to a discussion I saw on the Nextcloud forum about possible solutions: https://help.nextcloud.com/t/change-directory-for-snap-nextcloud-export-exports/143346 In the current implementation, if you want to back up your files with The workarounds suggested in the link above are:
Questions to consider:
One idea in the help thread was to allow |
Maxkapur hits the nail on the head for my issue with backups currently. If I run the export command, I assume it would completely fill my SSD and fail. However, if I had to restore a backup I don't know what that would look like. I would need a way to specify that config data belongs on the SSD and user data belongs on a different drive. |
More or less the same issue. I already have a backup routine for the data. What I need the backup to do is create a backup of all config, db, apps, etc. Maybe add a "-a" option for "application only" or "-c" for configuration only. Also, choosing location would be nice although I think I can get around that part of it pretty easily. |
That's a good idea. There are plenty tools like You can automate Maybe you'd like to try this script with option |
Hi Everyone, for anyone looking for an effective way to backup the nextcloud snap, here are two scripts, one uses the borg tool and the other uses rsync + tar |
I'd like to request this feature; when doing a backup, being able to specify where the backups should be placed (example, an external drive).
The text was updated successfully, but these errors were encountered: