Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Nov 2008
    Posts
    11

    Default incremental backup, rsync not copying databases?

    hello,

    I run cpbackup daily incremental. I have a 400 mb database which gets dumped to the mysql directory.

    however, when i run rsync, it only shows 180 megabytes transferred, that includes all the files and databases on all accounts.

    the question is, shouldn't the rsync copy the database all over again every time its generated? that should be more than 400 megabytes right? or am i missing something? is only the difference copied over?

  2. #2
    Member
    Join Date
    Oct 2004
    Posts
    44

    Default

    Go and read how rsync works - It only transfers files that have actually changed.

    Better still, take a look at what is in your original directory and compare it to the remote directory and you will see that everything is the same.


    Additionally, what flags are you passing to rsync? It could be that you are doing a compressed transfer and thus saving a considerable amount of network traffic. If the file you are transferring is a simple sql dump, then it is text and highly compressable and this would account for the apparent smaller transfer.

  3. #3
    Member
    Join Date
    Nov 2008
    Posts
    11

    Default

    yes i think it maybe due to compression, also does rsync copy only differences in files? or the whole file all over if it's changed?

    here's my rsync:

    rsync -avz -e ssh --delete

    thanks

Similar Threads & Tags
Similar threads

  1. Regarding copying and renaming databases in cPanel
    By DesigningKnight in forum Database Discussions
    Replies: 2
    Last Post: 03-07-2011, 07:58 AM
  2. Rsync Incremental Backups
    By rkm11 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-04-2008, 01:01 PM
  3. Backup Issues: whm or rsync dont do incremental plus mysql dump questions
    By vladgur in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 03-18-2008, 01:40 PM
  4. New backup option in Cpanel after switch to incremental backup type
    By WebHostDog in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-09-2006, 07:56 AM
  5. incremental backup
    By jsnape in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-18-2002, 07:53 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube