...
/usr/local/vesta/bin/v-backup-user
or to Sync:
rclone sync /home/myfiles objspace:turnerserverbackup/
| Info |
|---|
| Be careful when using sync rather than copy, if you are using rclone as a backup tool and accidentally delete a file on the source then the sync will wipe it from the destination too. |
Restoring files using RClone
The process is exactly the same as copying to ObjSpace except you swap the source and destination. The same caveat applies about the Copy and Sync command:
rclone copy objspace:turnerserverbackup/myfiles /home/or to Sync:
rclone sync objspace:turnerserverbackup/myfiles /home/Summary
...
[username]The backup will run and you specifically want to watch out for errors. For example 'ERROR: S3 error: 403 (AccessDenied)' or 'ERROR: S3 error: 409 (BucketAlreadyExists)'. If you get these errors then ensure you have a unique bucket name and that your accesskey and secretkey are correctly entered in VestaCP.
A successful run will look like this:
-- SUMMARY --
2016-01-05 02:02:37 Remote: objspace://mybucket123/mysubdirectory/markturner.2016-01-05.tar
2016-01-05 02:02:37 Checking ObjSpace connection
2016-01-05 02:02:37 Creating bucket (if necessary)
2016-01-05 02:02:38 Checking retention
2016-01-05 02:02:38 Current Backups = 1 Max Backups = 1
2016-01-05 02:02:38 Creating tarballs then uploading backups
'markturner.2016-01-05.tar' -> 's3://mybucket123/mysubdirectory/markturner.2016-01-05.tar' [1 of 1]
51200 of 51200 100% in 0s 5.17 MB/s done
'markturner.2016-01-05.tar' -> 's3://mybucket123/mysubdirectory/markturner.2016-01-05.tar' [1 of 1]
51200 of 51200 100% in 0s 270.20 kB/s done
2016-01-05 02:02:38 Size: 1 Mb
2016-01-05 02:02:38 Runtime: 1 minute
Summary
This is provided as-is, you need to test that the patches provided successfully backup your data and that you can restore it using the regular VestaCP tools.
If you have any issues using ObjSpace then please open a support ticket.
...