Results 1 to 2 of 2

Thread: Backup Sanity Check

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Posts
    4
    Rep Power
    7

    Default Backup Sanity Check

    Just a quick sanity check.. I see people using tar but generally using tar zcf, but that produces:

    tar: Removing leading `/' from member names
    tar: Removing leading `/' from hard link targets

    not worried about the first one, but the second one does worry me...

    just want to confirm that:

    tar --absolute-names -jcf <backup>.tar.bz2 /opt/zimbra/backup/

    will preserve the integrity of the directory structure links so if we need to use the backup file, it will be ok...

    Thanx....

  2. #2
    Join Date
    Mar 2007
    Location
    Austin
    Posts
    441
    Rep Power
    8

    Default

    -P (--absolute-names) will preserve the leading /, if you need that. You will also want to specify -P when you extract for the full path (unless you tell it to extract to /)

    Honestly, you shouldn't have to worry about the hard links. Either way will tar things up just fine.

Similar Threads

  1. Replies: 658
    Last Post: 04-04-2014, 09:01 AM
  2. Keeping a backup server synced with live server
    By Q-Mike in forum Administrators
    Replies: 5
    Last Post: 04-11-2008, 01:40 PM
  3. [SOLVED] Backups failing, "unable to read metadata for account"
    By smcgrath1111 in forum Administrators
    Replies: 10
    Last Post: 04-10-2008, 03:15 PM
  4. FYI: ZCS NE backup to fuse/sshfs mount, worked.
    By jagipson in forum Administrators
    Replies: 0
    Last Post: 09-28-2007, 06:37 AM
  5. 5.0 Beta Test Server Install - Sanity Check
    By soxfan in forum Installation
    Replies: 3
    Last Post: 06-07-2007, 10:53 AM

Posting Permissions

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