We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
backup tmp directories
backup tmp directories
Hi,
I have rclone mounted to ACD, so my backups just get copied to ACD. I have mounted rclone in the location to where the .tar files are created. However, vestacp creates tmp.* files, is there a way to define a location for the tmp folders to be created, as I don't want these uploaded.
Thanks
I have rclone mounted to ACD, so my backups just get copied to ACD. I have mounted rclone in the location to where the .tar files are created. However, vestacp creates tmp.* files, is there a way to define a location for the tmp folders to be created, as I don't want these uploaded.
Thanks
Re: backup tmp directories
Some prob with backup, please check logs
Code: Select all
/var/log/vesta/backup.log
Re: backup tmp directories
I think he want create tmp in orther location, so, vesta create tmp then pack it if you have remote dirs this can cause problems in networkskurudo wrote:Some prob with backup, please check logsCode: Select all
/var/log/vesta/backup.log
You can see this -> https://github.com/serghey-rodin/vesta/pull/1142
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: backup tmp directories
Do you have your Cloud Drive mounted on /backup ??
if so, this is wrong, as Vesta first makes temp directories here, copies alot of files, dumps dB and then compresses it into single files, finally deleting all temp folders.
What you should do is, unmount cloud drive... mount it as /cloud, then run a cron about 1 hours later than your VestaBackup is scheduled, that copies/moves /backup/* to /cloud
make sure to note time taken to backup, you should time your cloud move cron accordingly
hope this helps
if so, this is wrong, as Vesta first makes temp directories here, copies alot of files, dumps dB and then compresses it into single files, finally deleting all temp folders.
What you should do is, unmount cloud drive... mount it as /cloud, then run a cron about 1 hours later than your VestaBackup is scheduled, that copies/moves /backup/* to /cloud
make sure to note time taken to backup, you should time your cloud move cron accordingly
hope this helps
Re: backup tmp directories
ah thanks skamasle, have applied that patch that should do it.
No. /backup is the same, but I have changed the backup dir http://i.imgur.com/LEhUQjs.png.
That being said, /tmp dirs shouldn't be created in the backup location. Personally I'm +1 that github patch.
No. /backup is the same, but I have changed the backup dir http://i.imgur.com/LEhUQjs.png.
That being said, /tmp dirs shouldn't be created in the backup location. Personally I'm +1 that github patch.
Re: backup tmp directories
fix tmp dir for restore backup user
https://github.com/serghey-rodin/vesta/pull/1142
https://github.com/serghey-rodin/vesta/ ... -368680462
https://github.com/serghey-rodin/vesta/pull/1142
https://github.com/serghey-rodin/vesta/ ... -368680462