Results 1 to 2 of 2

Thread: Complex backup program for Server 12.04?

Hybrid View

  1. #1
    Join Date
    Jul 2010
    Location
    Atlanta
    Beans
    24
    Distro
    Ubuntu 11.04 Natty Narwhal

    Complex backup program for Server 12.04?

    I'm looking for a program that will automatically make hourly backups of certain folders into designated locations, but that's not the difficult part. It simultaneously needs to be deleting every backup except the 24th that reaches over 48 hours old (you see where I'm getting at?) AND every one of those backups except the 7th that reaches over two weeks old AND every one of THOSE backups except the 4th which reaches over two months old.

    So this is the end result:
    Hourlies for the past two days
    Dailies for the past two weeks
    Weeklies for the past two months
    Monthlies (quater-weeklies) forever.

    If anybody knows of a program that can perform this end result or how I can script one myself, that'd be awesome.

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Complex backup program for Server 12.04?

    Rsnapshot will do what you need, this is exactly the type of situation it was written for.

    Code:
    sudo apt-get install rsnapshot
    man rsnapshot
    Last edited by Cheesemill; December 18th, 2012 at 12:13 AM.
    Cheesemill

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •