Rsync Command To Backup On Other Server

Mar 27, 2009

We want to backup the contents of our public_html dir to another server we sue for backups. What is the proper rsnyc command to use. I am currently in the source server and want to send it to a specific user account on the destination server.

View 2 Replies


ADVERTISEMENT

Using Rsync To Backup An Entire Server

Mar 12, 2007

The backup program (cpbackup) that comes with WHM/Cpanel is not ideal for our current situation. We have lots of third party applications installed on our server along with many customized configuration files. We need a solution that will backup everything and allow for fairly simple restoration.

How viable is rsync for full server backups? Can it handle 100 GB of data?

More importantly, how would you restore the backup to a new server? If the new server already has an OS the restored files would break the system, right?

View 2 Replies View Related

What Is The Best Way To Get Backup From Linux Server To Windows Same As Rsync

Nov 5, 2008

What is the best way to get backup from linux server to windows same as rsync

i need to take offside backup from my linux server to windows server,before i used rsync to take backup,now i need to make backup in windows server with help of any software which work same as rsync or any software which must have good feature.

View 2 Replies View Related

Rsync To Remove Server, Backup Solution

May 1, 2008

I have two vps's. VPS1 is for hosting my sites, VPS to I purchashed to backup to.

I know I can use rsync but i'm confused at how to do this exactly.

Backup to remote server every other day.
Only do incremental backups.
Backup cpanel accounts

View 1 Replies View Related

Which Folders Should I Exclude From A Whole Server Backup (Rsync )

Nov 10, 2008

I am going to backup the whole server. (Rsync)

I understood it is not efficient to backup the local "backup" folder to avoid duplicated backups.

1. Should I exclude additional folders from the backup process?

2. I noticed it is familiar to exclude the "proc" folder also ... Why?

View 5 Replies View Related

Rsync Backup To NAS Via FTP

Apr 7, 2008

I just signed up with Rsync Palace for remote backups 2 days ago. Otto and Darin at Rsync Palace gladly helped me out and actually ended up setting me up for free. It's really an inexpensive price to pay for a little additional piece of mind to have a remote backup.

I have a VPS with cPanel that has NAS on a private network. The way they set it up was for Cpanel cron job to create backups of my VPS and place the backups in a /backup folder off root; Daily, Weekly and Monthly.

Then they have Rsync via cron set up to take those backups to the remote Rsync Palace server daily.

I still want to maintain backups on my NAS in the datacenter. (cPanel will only backup remotely or locally, but not both.)

In addition to Rsync securely transferring my data to Rsync Palace for offsite backups... How can I set up Rsync to ftp the same /backup data across the private network to the NAS? (Only ftp is available via the NAS.)

View 2 Replies View Related

How To Backup To Your PC Using Rsync

Jul 28, 2008

I use bqbackup.com in addition to ServInt's backup. The ServInt backup is inaccessible to me and can be restored only by their NoC.

Is there a way for me to download the backup files from bqbackup.com to my PC? I am using Win XP Pro. I backup the entire VPS, but I want to be downloading only the changes made each day after the initial download to my PC.

View 2 Replies View Related

Rsync / Backup

Nov 10, 2007

I am setting up a mirror server to kick on in the event my main server fails and I need some help with syncing the two.

It is my understanding I can use rsync to mirror the two. But, will that cover everything (ie. database, mail, etc) or only files?

View 5 Replies View Related

Rsync Backup

Apr 13, 2007

I am using rsync to database and i found out it corrupted my database. I should have used mysql dump before backing up the data..The problem with taking mysql dump each is that it takes a long time and resources as database is around 10 GB

if i want to take backups every 4 hour, whats the best way as mysql dump causes server load problem

View 14 Replies View Related

So I Do An RSync Backup - How Do I Restore It?

May 3, 2008

Backing up a server is obviously very important. Lets say I do a daily rSync backup and eventually my server HDD crashes, I know it isn't just a 'one click' job to restore my backup but what is it necessary to do in order to carry out a complete and effective restore back to how it was?

A step-by-step 'tutorial' on restoring an rSync backup would be helpful not just to me but to many 'would-be' server administrators.

View 4 Replies View Related

Basic Rsync Backup

Apr 23, 2009

Does anyone have a good link that explains the basics of setting up rsync for going from one host to another host?

View 5 Replies View Related

SSH, Rsync And Offsite Backup

Jun 3, 2008

I have a VPS with remote backup that I dod every night with rsync.

Now, for further SEO testing, Im looking into a reseller account.

Some reseller plan do offer access via SSH. Im not familiar with this ssh access for a reseller. Would I still be able to program a cpanel backup and then rsync all my cpanel backup ?

View 5 Replies View Related

Databases Backup ? (Rsync)

Nov 3, 2008

I am using bqinternet.com to backup (Rsync) some accounts.

I sent them a ticket before 2 days and didn't get any reply.

I used this command to schedule a remote backup for specific accounts:

Code:
echo "30 6 * * * root rsync -avz -e ssh ~account1 ~account2 ~account3 myuser@myuser.bqbackup.comerver" >> /etc/crontab

But, I found this command will backup only files.

How can I backup also databases?

View 11 Replies View Related

Rsync Backup Related

Apr 16, 2007

Currently I am using rsync to backup directory and mysqldump sql file on both external and internal backup drive

Now the directory has around 100,000 files that hardly change. Only thing that happens in that directory is either the old files are deleted or new files are added. All of them image

Due to some reason when i rsync using any of the two commands below, it transfer each and every file again rather then transferring the new or updated files.

Here is what i am currently using

rsync -avH /old/path /destination/path (this is for internal backup drive)

or

rsync -avz -e ssh /old/path username@username.remoteaddress:/destination/path

why all my files in the directory all uploaded again

View 4 Replies View Related

Rsync Backup Service Recommendations?

Apr 16, 2008

I'm looking for a new rsync backup solution. I've googled around and have seen a few but wanted to get the opinion of the community.

Any recommendations? All I know about is bqbackup.com and rsync.net. Any other ones?

View 14 Replies View Related

Rsync Backup - User Permissions

Jan 18, 2009

I have a problem with my rsync backup

First of all my setup is thus:

I have a Linux box at the office which has an rsync cron on it which pulls from my web server as a backup. It pulls websites, mysql, conf files etc.

My web server is running debian etch LAMP etc.

When I originally set it up I used root user to log into the web server, and setup keys to authenticate, this worked perfectly.

I then decided that having direct root access to the web server was a bad thing so I have turned off root login (PermitRootLogin no in sshd_config)

I then setup a backup user which works fine for the website files but fails on permissions for the mysql data files (/var/lib/mysql)

How can I get over this without granting root access to the backup user which would defeat the object of not allowing root access.

I have been told about host authentication based on ip address but I have dynamic address at the office so that would be no good

View 2 Replies View Related

Want To Start My Own RSYNC/FTP Backup Service

Oct 31, 2008

Want to start my own RSYNC/FTP backup service... whats needed?

Besides the physical server and lots of GB's what software packages are needed, any tips on how to tie them together?

Do you create linux users, and then assign those users to an FTP account to a home folder?

View 10 Replies View Related

Daily Backup + Rsync Ssh + Large Number Of Files

Oct 29, 2006

i just wana know is it safe to do remote daily backup for about 70,000 files?

file sizes is about 200kb and every day i have about 1000 new file, so rsync first should check old files becouse i am deleting about 30-50 of them daily and them backup new 1000 files ,
so how much it will take every time to compare that 70,000 files?

i have 2 option now:

1-using second hdd and raid 1
2-using rsync and backuping to my second server , so i can save about $70 each month.

View 9 Replies View Related

Offsite Backups (via Rsync) - What Files/folders To Backup

Jun 3, 2009

I'm currently using (amongst other backup systems) rsync to an offsite space (am using BQBackup at the moment)

I'm just wondering - apart from backing up all of /home/, /var/lib/mysql/ and the important config files (httpd.conf, php.conf, etc etc) is there anything else that *needs* to be backed up?

Obviously in a worst case scenario, a new machine would be deployed with a fresh OS install (and a fresh WHM/cPanel install) so I wouldn't worry about backing up OS files or cPanel core files, although I'm wondering if there's anything apart from the /home/ directory and the MySQL databases which would be lost (and so need backing up) in the event of a crash?

View 10 Replies View Related

Backup Command

Apr 22, 2007

I am trying to find the right command to backup files, but exclude certain ones and whole folders. I have experimented with various --exclude= and --exclude-from= combinations in my tar backups of my /var/www/html/ folder, but to not avail. I get either errors about non existant files when it checks to exclude, or it just ignores what I put and backs up the folder/files anyway.

If someone could give me the proper syntax to say... backup

/var/www/html/

but exclude

/var/www/html/garbagefiles/

from the tar backup,

View 3 Replies View Related

SSH Command ( Sql Backup)

May 13, 2007

I want to transfer a huge database (sql ) of 5 GB to other server ( Remote ) , but i do not know how to do it ! and later i want to restore it also on the 1st server after i format it!

I know how to backup on my own server by using

Quote:

mysqldump -q -uxyourdomain -p -hmysql.yourdomain.com xyourdomain_2 >./myfile.txt

But please help me in telling a command which can make MySql backup from DB to another server

and

a command which can restore MySql backup of DB to another server

View 14 Replies View Related

Website Backup Over Command Line

Nov 7, 2008

We have a dedicated server, with chroot access enabled.

We are wanting to backup each site on this server, as well as all mysql dbs on a weekly basis.

Is it possible for us to run a cron job to do this? If so, what commands would we want to use?

We have a local FTP server here, so would like to ftp these backups this machine.

I know it all sounds a little vague, but I just need to know where to get started.

View 3 Replies View Related

Plesk 12.x / Linux :: CLI - Scheduled Backup From Command Line

Apr 9, 2015

I'm looking to set up a schedulled backup from command line.

I haven't found the correct command, could you tell me if it's possible and how ?

Additional question: I'm looking too, to set for the server the max number backup file to save, do you know how to do it from cli ?

View 8 Replies View Related

Plesk 12.x / Linux :: Remove Backup Via Command Line?

Jan 17, 2015

Is there a command line way of removing Plesk backups?

I'm looking for the command line equivalent of these steps: Log into Plesk as the server admin > "Tools & Settings" > "Tools & Resources" > "Backup Manager" > check a backup and click "Remove".

We have a script that copies the contents of "/var/lib/psa/dumps/" to Amazon S3 for long-term storage of backups. It runs nightly after a scheduled Plesk backup. Once that script completes successfully, we'd like to delete the Plesk backup to free up disk space. We have Plesk's "Maximum number of backups in the repository" set to 1.

But Plesk appears to keep that backup around while creating a new backup (which makes some sense). This is causing us trouble because the server does not have enough disk space for two backups. As a temporary solution, I'm manually deleting the backup each day through the Plesk admin, but would like to automate it if possible. If automation is overly complex/risky, we'll look at upping our disk space instead.

View 4 Replies View Related

Rsync Between Two Different Server

Aug 8, 2008

i have two differnt server at two differnt datacenters,with same contant,runing under subdomain eg main domain is domain.com and subdomain is sub.domain.com both are same site,i used this to reduce server load and share request,but the problem iam haveing when update any stuff i need to update on both server it bit diffcult any way to update contant via rsync between the two servers?

View 6 Replies View Related

Transferring From 1 Server To Another Using Rsync

Nov 3, 2009

I have about 800GB of data to transfer, both servers are using DirectAdmin.
If I am able to transfer at 10mbit, how long would that take for 800GB?

I suppose I need to install rsync on both servers.

How do I preserve directory structure, owner, permissions?

What is the exact command to type?

View 11 Replies View Related

Could I Check If Any Rsync Setting On My Server?

Apr 6, 2009

my server is centos,

i want to know the rsync setting,

could i check if any rsync setting on my server?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved