Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Rsync question

rrrrrr Member
edited April 2013 in General

I have got a cPanel VPS. I am going to have another storage VPS soon. Question is how can I backup COMPLETE VPS with rsync. It should include mysql too and all VPS files.

I want to set two backups, daily and weekly. I want to set cron too for this.

How much load it will give?

Comments

  • jhjh Member

    You can't really do it like that. The DBMS needs to be off while the files are copied or you'll get inconsistent data.

  • @jhadley said: You can't really do it like that. The DBMS needs to be off while the files are copied or you'll get inconsistent data.

    To get round this you could do a MySQL dump before your perform the rsync. The dump will be consistent.

  • rrrrrr Member

    yes whatever way its possible any command examples will be really helpful.

  • LeeLee Veteran

    All I do is is run a bash script to First mysqldump the databases individually into a folder on the VPS and it then does an rsync to my backup VPS which obviously includes the databases.

    I am on a call at the minute if I get a chance later and nobody else gives you it I will post some code that I use.

  • On our old CP server we used a crontab to do a mysqldump and after that a rsync... I just saw we never moved that script with the CP itself...

  • I'd recommend automysqlbackup and duplicity

  • Awmusic12635Awmusic12635 Member, Host Rep

    Something like this? : http://cpremote.net/

Sign In or Register to comment.