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

    Default New Backup Idea?...

    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. #2
    Member
    Join Date
    Dec 2008
    Posts
    153

    Default

    I was trying
    ls -la |grep .emacs | awk '{print $6, $7, $8}'
    But that just returns the d.m.y, I guess I could use
    du -sh user_name
    Whatcha think?

  3. #3
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    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?

    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.

Similar Threads & Tags
Similar threads

  1. Automated Remote Backup for CPanel Clients - Idea
    By Israel.lopez in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 09-12-2008, 11:43 AM
  2. any idea on backup all users database, emails, website ?
    By velton in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-16-2007, 08:25 AM
  3. New idea about backup maybe not new, but a good point.
    By prixone in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-08-2005, 10:04 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube