Page 1 of 1

Backup overwriting

Posted: Wed Oct 02, 2013 12:59 pm
by ricardo777
Hello,

Have noticed a thing, if I create a backup 2 on the same day or more it overwrited the old one.

Can this be changed or at least an option?

Re: Backup overwriting

Posted: Wed Oct 02, 2013 3:24 pm
by skid
Unfortunately, no. I will consider this topic as feature request.

Re: Backup overwriting

Posted: Wed Oct 02, 2013 6:01 pm
by ricardo777
Thank you kind, maybe a upload function for backups.

Had a server reinstall had a bit of a hard time to restore a backup there is a other file that list al of the user backups that is needed, otherwise the backup is not seen in the restore list.

Re: Backup overwriting

Posted: Thu Oct 03, 2013 6:58 am
by skid
You can restore uploaded backups using cli. It works even if user doesn't exist on a server. It is useful when you migrate user from one server to another.
1. Make backup using web interface or "v-backup-user" command
2. Copy file /backup/$user.$date.tar to new server
3. Restore user using following command "v-restore-user $user $user.$date.tar"

Hint: You can change archive name and restore bacup under new username.

Re: Backup overwriting

Posted: Thu Oct 03, 2013 8:02 pm
by ricardo777
Thank you kind for the information will really helps me when I need it.

And more easier then what I was doing.

Re: Backup overwriting

Posted: Wed Jan 08, 2014 7:01 am
by ODEKK
Ricardo,

Where is that file that needs to be updated? I want to try your method for importing backups.

Thanks!

Re: Backup overwriting

Posted: Sat Jan 18, 2014 12:06 am
by jarland
Suppose you could edit /usr/local/vesta/bin/v-backup-user and look for:
# Defining local storage function