Limiting number of remote backups

Post Reply
welldesign
Posts: 2
Joined: Wed Sep 30, 2020 11:33 pm
Limiting number of remote backups

Post by welldesign »

Is it possible to configure a backup to a remote server via FTP once a week and leave a regular local backup every day, as configured by default in the control panel? How to do it?

User avatar
dpeca
Site Admin
Posts: 224
Joined: Fri Jun 19, 2020 9:59 am
Location: Serbia, Niš
Re: Remote backup schedule

Post by dpeca »

The only thing you can do is to limit number of remote backups that will be kept remotely.

Code: Select all

echo "ONLY_ONE_FTP_BACKUP='yes'" >> /usr/local/vesta/conf/vesta.conf
or

Code: Select all

echo "KEEP_N_FTP_BACKUPS=1" >> /usr/local/vesta/conf/vesta.conf
That way only last backup will be on remote backup.

Or

Code: Select all

echo "KEEP_N_FTP_BACKUPS=2" >> /usr/local/vesta/conf/vesta.conf
for last two backups.

welldesign
Posts: 2
Joined: Wed Sep 30, 2020 11:33 pm
Re: Limiting number of remote backups

Post by welldesign »

Dear dpeca,

Thank you for your answer, but the limiting number of remote backups is not what I need.

We need an individual schedule for remote backups so that daily backups for the last 7 days are stored locally, and weekly backups for the last couple of months are stored on the remote FTP server.


Post Reply