Rsync Command To Backup On Other Server
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 Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Using Rsync To Backup An Entire Server
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 Replies!
View Related
How To Backup To Your PC Using Rsync
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 Replies!
View Related
Rsync / Backup
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 Replies!
View Related
Rsync Backup
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 Replies!
View Related
So I Do An RSync Backup - How Do I Restore It?
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 Replies!
View Related
Databases Backup ? (Rsync)
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 Replies!
View Related
Rsync Backup Related
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 Replies!
View Related
Rsync Backup - User Permissions
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 Replies!
View Related
SSH, Rsync And Offsite Backup
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 Replies!
View Related
Rsync Backup To NAS Via FTP
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 Replies!
View Related
Offsite Backups (via Rsync) - What Files/folders To Backup
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 Replies!
View Related
Daily Backup + Rsync Ssh + Large Number Of Files
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 Replies!
View Related
Backup Command
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 Replies!
View Related
Website Backup Over Command Line
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 Replies!
View Related
SSH Command ( Sql Backup)
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 Replies!
View Related
Rsync Between Two Different Server
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 Replies!
View Related
Rsync Some Files From Windows To A Linux Server
At work, we have a windows 2003 server. We have a set of files that get modified from day to day. Since they know I own a dedicated server (Linux) they ask me if it would be possible to have an offsite backup on my server of the set of files on the windows 2003 server. Also, I dont want to have the whole files set to be uploaded everyday. I am aware of rsync on *nix system, but do you have any suggestions on how to proceed with a windows 2003 server to a unix server?
View Replies!
View Related
Run Rsync To Sync A Folder From An FTP Server
I want to run Rsync to sync a folder from an FTP server - which I have limited access too with my server. 1. Do I have to have rsync installed on the server with the FTP too, as I won't be able to do that as it is not my server. 2. Is Rsync easy enough to get up and running and set it to run every 24hours?
View Replies!
View Related
Command To Stop The Wget Command
Is there a command i can type into the ssh console to stop a current transfer that i started wit the wget command? the file im wgeting always stuffs up at 51% but then the server just retries and starts again, its done it 3 times so far and i just want to completely cancle the process if possible....
View Replies!
View Related
Server Freezes During Curl Command
I have a script that does a PHP Curl call where it downloads a large file (~20meg) to the local server. While its doing the Curl Call, I open up a new window and keep working with the site, (ie. opening a simple image) and the browser keeps saying "Waiting for reply". As soon as the Curl Call stops, then the server works again. What could course this? The server is dedicated and only me using it: Intel Core2Quad Q6600 2GB DDR RAM Linux - CentOS 5 32bit While its doing the curl call, I ran uptime and the load is 0.0 0.0 0.0. From my PHPINFO: Code: Apache Version Apache/1.3.39 (Unix) mod_ssl/2.8.30 OpenSSL/0.9.8b Apache Release 10339100 Apache API Version 19990320 Hostname:Port localhost:80 User/Group apache(100)/500 Max Requests Per Child: 1000 - Keep Alive: off - Max Per Connection: 100 Timeouts Connection: 120 - Keep-Alive: 1 Server Root /etc/httpd Loaded Modules mod_php5, mod_ssl, mod_setenvif, mod_so, mod_headers, mod_expires, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_log_referer, mod_log_agent, mod_log_config, mod_env, mod_vhost_alias, http_core HTTP_CONNECTION Keep-Alive php.ini Code: max_execution_time = 1000 ; Maximum execution time of each script, in seconds max_input_time = 1000 ; Maximum amount of time each script may spend parsing request data ;max_input_nesting_level = 64 ; Maximum input variable nesting level memory_limit = 128M ; Maximum amount of memory a script may consume (128MB) [MySQL] ; Allow or prevent persistent links. mysql.allow_persistent = Off ; Maximum number of persistent links. -1 means no limit. mysql.max_persistent = -1 ; Maximum number of links (persistent + non-persistent). -1 means no limit. mysql.max_links = -1 httpd.conf Code: MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 150 MaxRequestsPerChild 1000 httpd-mpm.conf - changing this made no difference Code: <IfModule mpm_prefork_module> StartServers 30 MinSpareServers 10 MaxSpareServers 20 MaxClients 200 MaxRequestsPerChild 0 </IfModule>
View Replies!
View Related
How To : Change ( Wget ) Command In Your Server
Most popular way of downloading these scripts is to use "wget" comman when we need to change the command wget in our server for download some destructive script and run it through some server side program such as PHP or PERL ... now i try to start this session by this command ... PHP Code: pico /usr/bin/wget it's show me like this! PHP Code: ?ELF^A^A^A^@^@^@^@^@^@^@^@^@^B^@^C^@^A^@^@^@^�¡^D^H4^@^@^@ u^C^@^@^@^@^@4^@ ^@^H^@(^@^[^@^Z^@^F^@^@^@4^@^@^@4^�^D^H4^�^D^H^$^@^@^@^ط^@^@^@^Û^@^@^@c^@^@^@C^@^@^@^@^@^@^@^@^@^@^@^A^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@$^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^E^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@ ^@^@$^@^@^@Pا^G^H^@^@^@^@^Q^@ø�^É^D^@^@^@^@^@^@Æ^@^@^@^R^@^@^@^È^E^@^@^@^@^@^@v^@^@^@^R^@^@^@Û^A^@^@^@^@^@^@&^@^@^@^R^@^@^@^O^E^@$^@I^F^@^@^@^@^@^@<^@^@^@^R^@^@^@^A^E^@^@^@^@^@^@~^A^@^@^R^@^@^@ص^G^@^@^@^@^@^@1^@^@^@^R^@^@^@ñ^@^@^@^@^@^@^@ð^C^@^@^R^@^@^@r$^@^@^@^R^@^@^@A^G^@^@^@^@^@^@M^@^@^@^R^@^@^@^ص^D^@^@^@^@^@^@E^@^@^@^R^@^@^@�^D^@^@^@^@^@^@=^A^@^@^R^@^@^@Ç^@^@^@^@^@^@^@J^@^$^@ش^D^@^@^@^@^@^@'^@^@^@^R^@^@^@y^D^@^@^@^@^@^@^Z^A^@^@^R^@^@^@^_^F^@^@^@^@^ now how can i change this command ? or change anything in this file ( wget ) ...
View Replies!
View Related
Server Refused To Start Shell/command
I am having some server issues. A part of my sshd_config: Port 2255 Protocol 2 ListenAddress 8x.xx.xx.46 PermitRootLogin no Recently, when I want to connect to my server using putty, I get "Connection Refused" using the above IP address and port. When I enter the above IP address (or any other IP address that is stored/set on the server) and port 22, I get "Server refused to start shell/command". It did work before, using 8x.xx.xx.46:2255 and when I enter 8x.xx.xx.46:22 it will block. But now... not anymore. I am using "Direct Admin" to do a "System Backup". I do see the right port and IP address in the sshd_config file. How can I fix this? I can not login the server anymore, however I am going to the datacenter tomorrow. OS: CentOS Installed firewall / protection: APF + BFD Control Panel: Direct Admin
View Replies!
View Related
Internal Server Error - Invalid Command Php_value
I just went to log on to my site and noticed that I have an "Internal Server Error". I checked the cpanel error log and found: /home/foo/public_html/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration, Last night, one of my admins updated php to use suPHP...I guess it broke this.
View Replies!
View Related
Using Domain Name Server (DNS) And A Backup Server
I currently have two VPS servers, each with 2 DNS names running on them as follows: dns1.mydomain.com (on Server A) dns2.mydomain.com (on Server A) dns3.mydomain.com (on Server B) dns4.mydomain.com (on Server B) I have websites running on each server and I would like to have something set-up so that when one server goes down, the other server displays a nice page saying the website is unavailable currently and will be back shortly - you know, something nicer then the normal "Server Not Found" default messages. What is the best way to do this? If I have CLIENTDOMAIN.COM and put them on Server A and they use all 4 DNS server names, will the top two DNS names always be used by people finding the website, and the bottom two choices only be used if the top two can't be found? I believe I have to create an account on Server B for them as well, just only placing the temporary page within the account, rather then a whole copy of their website. Correct?
View Replies!
View Related
New Server Without OS (Remote FTP Backup Server)
I just purchased a new server with 4 hotswap HDD of 250GB each and reload with new CentOS 5 without any host control panel. The purpose is to backup all my other Cpanel servers data remotely. All my Cpanel servers are fully managed servers. This is the first time i'm going to do all things by myself, so I'm really a newbie. Please don't advise me to hire a server admin because I end up learning nothing I need to learn.. 1. My first step now is to secure & harden the server. - Can anyone mind to share with me valueable knowledge of basic server security & hardening? I was also thinking to use sudo root password which my serveradmin actually did but I don't know how. But su - access level would be OK too. - I also need to install firewall and close all kind of port and block all SSH connection from all kind of IP except my server & my own IP address only. Can anyone provide me a guide? 2. Secondly what I need is to install FTPd and create user for each hard drive with 2 directory inside. /sda/server1/ /sda/server2/ /sdb/server3/ /sdb/server4/ /sdc/server5/ (reserved for future server) /sdc/server6/ (reserved for future server) /sdd/server7/ (reserved for future server) /sdd/server8/ (reserved for future server) Does anyone knows where to find documentation how do install ftpd and how to setup user pointed to the specific directory.
View Replies!
View Related
Rsyn --backup --backup-dir Switches For Incremental Backs
I current do some rsync backups with a command like so every day rsync -az -e ssh --stats --delete --exclude "stuff" / user@server:/home/user/ What I want to do is have some incremental backups in there in subdirectories. So, for example, something like this on the remote server /home/user/something.tuesday /home/user/something.friday I thought the --backup --backup-dir Switches were used to store just the files that had changed in seperate directories, am I wrong on that? I've read everything I could find, including the big rsnapshot scripts, but I'm not able to do what I want, it seems so simple but something's not right, am I wrong that subdirs should have just files that are new or have changed. I tried various things like this, but had no luck rsync -az -e ssh --stats --delete --backup --backup-dir=/home.Thursday --exclude "stuff" / user@server:/home/user/
View Replies!
View Related
Backup Server
I'm looking for a dedicated machine that will be used solely for rsync backups. (I don't want to use a shared rsync solution) Requirements are simple, at least 1TB HD and < $99 a month. Should have a decent amount of RAM and processor, but other than that, I would think any reputable provider would do. Most places I find a suitable server for $49 and then see it's another $50/mo. to upgrade to a 1TB hard drive. Hard to believe the markup for these larger drives considering they go for, what $89 now?
View Replies!
View Related
What Need For Backup Server
I have dedicated server for web hosting selling. This days i will buy this server [url] when i buy server on santrex what i need to setup on that server to he work like backup server for my other web hosting servers? Wich software and something else?
View Replies!
View Related
Server Backup
Time(GMT): 08:00 pm, My server takes a daily backup , at that time all my Client’s forum down(PHP)! why ? I do not know .!! it takes approximately 15 min. It comes like this: (There seems to have been a problem with the ×*×* *×*× database. Please try again by clicking the Refresh button in your web browser. An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem)
View Replies!
View Related
Server Backup Methodology
How do you handle the backups on your server? I just got a new dedicated server and our server does automatic backups, but I think it only saves to the existing hard drive. How frequently do you back up? I think the standard is every Sunday or Sunday/Wed depending on your traffic load. Where do you put your backups? A remote FTP server? A second hard drive?
View Replies!
View Related
Cheap Backup Server
Any recommendations for a cheap backup server? Budget less than $50. Either a 500GB or 1TB drive. Don't recommend those backup services like BQ. I can get a whole server for cheaper than their prices. The only one I've come across is this Atom: [url]
View Replies!
View Related
|