Page 1 of 2

On demend backup

Posted: Wed Mar 11, 2015 8:34 pm
by uscreator
Good evening Ladies & Gents,

Is there a way to run a full backup from the command line?
As opposed to having it scheduled?

Thanks,

Ed

Re: On demend backup

Posted: Wed Mar 11, 2015 9:11 pm
by imperio
Hello,
Yes, you can run backup job via ssh

Code: Select all

v-backup-user
or

Code: Select all

v-backup-users
- for all users

Re: On demend backup

Posted: Thu Mar 12, 2015 3:51 pm
by uscreator
imperio wrote:Hello,
Yes, you can run backup job via ssh

Code: Select all

v-backup-user
or

Code: Select all

v-backup-users
- for all users
Perfect thanks!

Re: On demend backup

Posted: Wed Mar 25, 2015 7:20 pm
by uscreator
Hello,

Where would I modify backup settings?
Things like:
Backup location and how often etc.

Is there a place in the script? or cron etc

Re: On demend backup

Posted: Thu Mar 26, 2015 4:58 am
by skurudo
uscreator wrote: Things like:
Backup location and how often etc.
Is there a place in the script? or cron etc
When backups do - CRON - time when to start
How many backupds - PACKAGES - in packages you can set, how many full backups you will have

Where is place? For default it's /home/backups, but you can backup on ftp too - https://vestacp.com/docs/#how-to-configure-ftp-backup

Re: On demend backup

Posted: Fri Mar 27, 2015 8:34 pm
by mehargags
Ah! I though of asking a different scenario... what if I want to backup all sites under one user "except" one ?
Is there a way to leave out one domain?

One was to do this is to Move that one site to a new user, then leave him out in backup Script. But just wanted to check if there is a way to LEAVE out one domain from backup script or leave out a user from -Vesta-backup-users

Re: On demend backup

Posted: Sat Mar 28, 2015 9:04 am
by skurudo
mehargags wrote:Ah! I though of asking a different scenario... what if I want to backup all sites under one user "except" one ? Is there a way to leave out one domain?
There is [ backup exclusions ] - /list/backup/exclusions/

Re: On demend backup

Posted: Sat Mar 28, 2015 12:54 pm
by mehargags
Skurudo,
can you elaborate ?? on my Debian 7

Code: Select all

$ cd /list/backup/exclusions/
bash: cd: /list/backup: [color=#FF0000]No such file or directory[/color]
Or Do I need to CREATE an New file

Code: Select all

nano /list/backup/exclusions/
please lay out the steps.

Re: On demend backup

Posted: Sat Mar 28, 2015 5:59 pm
by skurudo
This part of url, not a command

https://domain.ru:8083/list/backup/exclusions/

Re: On demend backup

Posted: Sat Mar 28, 2015 8:12 pm
by mehargags
Ah !!
Thanks the little link always missed my eye!

one Last thing...
If I want to exclude a /tmp folder from any site, I just give the Abolsute path ?

For Eg : /home/admin/abc.com/public_html/tmp so only the tmp folder will be excluded -- right ?