Closed Thread
Results 1 to 4 of 4

Thread: Creating a backup script

  1. #1
    NeedHelp Guest

    Creating a backup script

    In creating a backup script I realized I don't know how to tar recursively - what is the command for that?

  2. CODECALL Circuit advertisement

     
  3. #2
    Nightracer's Avatar
    Nightracer is offline Programmer
    Join Date
    Jun 2006
    Posts
    131
    Rep Power
    0
    not sure about TAR but have you checked the MAN pages?

  4. #3
    Jordan Guest
    tar -cvzf <archivename> <dir>
    Last edited by Jordan; 09-08-2006 at 09:07 AM.

  5. #4
    shuaib Guest

    how to backup using tar

    Well
    you have to visit the man page

    the command tar will group the files in one file recursively

    so

    #tar -cvzf filename.tar /home/shuaib

    filename.tar is the created file and has the data

    /home/shuaib is the targeted files in other words the files you want to backup

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. PHP creating dynamic jquery head script
    By scottybrannan in forum PHP Development
    Replies: 6
    Last Post: 07-22-2011, 12:19 PM
  2. [HELP] convert Perl script to Bash shell script
    By Egypte in forum Linux Programming and Scripting
    Replies: 2
    Last Post: 04-24-2011, 05:37 PM
  3. Shell Server Backup Script to remote location
    By DEViANT in forum Bash / Shell Scripting
    Replies: 0
    Last Post: 10-16-2010, 01:53 AM
  4. BASH: SSHFS Backup Script
    By Jordan in forum Bash / Shell Scripting
    Replies: 2
    Last Post: 06-21-2009, 08:00 AM
  5. Issue Basic Batch Backup Script
    By lickfrog in forum General Programming
    Replies: 2
    Last Post: 04-28-2009, 12:32 PM

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