Find the answer to your Linux question:
Results 1 to 2 of 2
i want automatically backup some folders every hour to a storage drive on my network .. would would i go about setting this up...
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Posts
    21

    storage drive

    i want automatically backup some folders every hour to a storage drive on my network .. would would i go about setting this up

  2. #2
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Are you looking to have the folders mirrored every hour or do you want multiple snapshots, each being a particular hour?

    I'm assuming you'd want to mirror to the external drive. In that case I'd take a look at rsync and cron.

    rsync will allow you to backup/mirror with any options you want. It really is quite powerful. Assuming you have the drive mounted at /mnt/share the command would look like this
    Code:
    rsync -uav /home/user/folder /mnt/share/folder
    cron can run this every hour for you, check out the crontab man pages. It's not as difficult as it first looks...
    Code:
    man crontab

Posting Permissions

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