The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

New Backup Idea?...

Discussion in 'Workarounds and Optimization' started by jhyland87, May 22, 2010.

  1. jhyland87

    jhyland87 Well-Known Member

    Joined:
    Dec 8, 2008
    Messages:
    153
    Likes Received:
    0
    Trophy Points:
    16
    So these backups are kinda killing my server, they are taking up way too much space, and way too much time. I have it backup locally, then another script will rsync them to another server.

    I see you cant do the backups that will only backup if the files have changed, if you dont have it tar them up.

    What if I modify the script, before it tries to backup the users folder/database, it will just "ls -la |grep user_name", get the value of the folder size, then store it into an array in a script stored in /scripts.

    Next time the backups run, it will do the same thing, if the size is different.. it will backup the directory, and update the array.

    Same thing for the database.

    Whatcha think?
     
  2. jhyland87

    jhyland87 Well-Known Member

    Joined:
    Dec 8, 2008
    Messages:
    153
    Likes Received:
    0
    Trophy Points:
    16
    I was trying
    But that just returns the d.m.y, I guess I could use
    Whatcha think?
     
  3. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    Let's take a bit of a step backwards here for a moment ....

    What exactly is it that you are really trying to do? And why? :rolleyes:

    From the look of your posts, it sounds like you are trying to re-invent
    incremental backups because what you described is sort of the meaning
    of incremental by definition. I am just curious what it is that you are
    really doing and what the real issue is that motivates you doing this.
     
Loading...

Share This Page