Page 1 of 1

It not possible to save 2 o more backups on the same day

Posted: Sat Dec 02, 2017 8:25 am
by artuof
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?

The solution is easy: include in name file for backup year-month-day-hh-mm-ss.

How can I do it?

Re: It not possible to save 2 o more backups on the same day

Posted: Sat Dec 02, 2017 8:54 am
by artuof
It is solutioned here:
https://github.com/serghey-rodin/vesta/pull/1289

I have updated files:
    v-backup-user
    v-restore-user
In /usr/local/vesta/bin

Regards.

Re: It not possible to save 2 o more backups on the same day

Posted: Mon Dec 11, 2017 7:23 pm
by ohioiproject
Just remember you will NOT be able to restore the backup unless you "patch" all the files and that this ISN'T supported officially by VESTACP!

Re: It not possible to save 2 o more backups on the same day

Posted: Tue Dec 12, 2017 9:02 am
by artuof
ohioiproject wrote:Just remember you will NOT be able to restore the backup unless you "patch" all the files and that this ISN'T supported officially by VESTACP!


What do you mean with "patch"?

I can restore perfectly backups from vestacp with command:
v-restore-user admin admin.2017-12-10.tar

Thanks!

Re: It not possible to save 2 o more backups on the same day

Posted: Tue Dec 12, 2017 6:49 pm
by ohioiproject
artuof wrote: What do you mean with "patch"?

I can restore perfectly backups from vestacp with command:
v-restore-user admin admin.2017-12-10.tar

Thanks!


Many users, including myself, have tried to do multiple backups per day, however because of various reasons it will not restore the backup.