Shell script for backup and restore


Results 1 to 4 of 4

Thread: Shell script for backup and restore

  1. #1
    Join Date
    Aug 2010
    Posts
    3

    Shell script for backup and restore

    Hi,

    I have requirement on shell scripting. I require scripts for the following
    1) Full backup(application and DB): tar all the files and database and copy them in the backup server
    2) incremental back up of files: backup of all the updated files after the last backup
    3) restoring of backup files: restore the backup files from the backup server to the application server

    Please help me in providing the scripts.

    Thanks in advance

  2. #2
    Join Date
    Jun 2004
    Location
    Newcastle upon Tyne
    Posts
    2,978
    Can you demonstrate that this is not asking someone to do your home work?

    You should ask the areas that you don't understand the man pages so that other can assist.
    Linux user started Jun 2004 - No. 361921
    Using a Linux live CD to clone XP
    To install Linux and keep Windows MBR untouched
    Adding extra Linux & Doing it in a lazy way
    A Grub menu booting 100+ systems & A "Howto" to install and boot 145 systems
    Just cloning tips Just booting tips A collection of booting tips

    Judge asked Linux "You are being charged murdering Windoze by stabbing its heart with a weapon, what was it?" Replied Linux "A Live CD"

  3. #3
    Join Date
    Aug 2010
    Posts
    3
    I am a php developer and i am new to shell scripting. I have a requirement to implement the above features.

    If someone already have scripts for the above features it will be very helpful for me. So, i posted this forum.

  4. #4
    Join Date
    Aug 2001
    Location
    Somewhere, Texas
    Posts
    9,627
    There are lots of posts about this sort of task, search is your friend

    rsync is commonly used for this sort of job

Posting Permissions

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