Backup overwriting
-
- Posts: 25
- Joined: Mon Sep 30, 2013 8:42 am
Backup overwriting
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?
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
Unfortunately, no. I will consider this topic as feature request.
-
- Posts: 25
- Joined: Mon Sep 30, 2013 8:42 am
Re: Backup overwriting
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.
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
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.
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.
-
- Posts: 25
- Joined: Mon Sep 30, 2013 8:42 am
Re: Backup overwriting
Thank you kind for the information will really helps me when I need it.
And more easier then what I was doing.
And more easier then what I was doing.
Re: Backup overwriting
Ricardo,
Where is that file that needs to be updated? I want to try your method for importing backups.
Thanks!
Where is that file that needs to be updated? I want to try your method for importing backups.
Thanks!
Re: Backup overwriting
Suppose you could edit /usr/local/vesta/bin/v-backup-user and look for:
# Defining local storage function
# Defining local storage function