Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion Debian/Ubuntu
  • Search

backup tmp directories

Debian/Ubuntu related topics
Locked
  • Print view
Advanced search
6 posts • Page 1 of 1
bhc
Posts: 6
Joined: Wed Dec 07, 2016 12:31 pm

backup tmp directories

Post by bhc » Tue Apr 04, 2017 1:45 pm

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
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: backup tmp directories

Post by skurudo » Tue Apr 04, 2017 2:47 pm

Some prob with backup, please check logs

Code: Select all

/var/log/vesta/backup.log
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: backup tmp directories

Post by skamasle » Tue Apr 04, 2017 6:56 pm

skurudo wrote:Some prob with backup, please check logs

Code: Select all

/var/log/vesta/backup.log
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 network

You can see this -> https://github.com/serghey-rodin/vesta/pull/1142
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: backup tmp directories

Post by mehargags » Tue Apr 04, 2017 7:13 pm

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
Top

bhc
Posts: 6
Joined: Wed Dec 07, 2016 12:31 pm

Re: backup tmp directories

Post by bhc » Wed Apr 05, 2017 9:13 am

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.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: backup tmp directories

Post by skurudo » Tue May 28, 2019 10:55 am

fix tmp dir for restore backup user
https://github.com/serghey-rodin/vesta/pull/1142
https://github.com/serghey-rodin/vesta/ ... -368680462
Top


Locked
  • Print view

6 posts • Page 1 of 1

Return to “Debian/Ubuntu”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password