1. Community Tip: Please Give Thanks to Those Sharing Their Knowledge.
    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.
  2. Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)
    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

zfs snapshot and snapshotroot

Discussion in 'Solaris' started by norrby, Mar 31, 2008.

  1. norrby

    norrby Newcomer

    Joined:
    Apr 25, 2007
    Messages:
    1
    Likes Received:
    0
    Hello,
    I'm trying to use option -snapshotroot on a zfs filesystem, tsm client is 5.5.0. 0 and solaris version Solaris 10 8/07.I have a zfs filesystem gipsy/data, mounted on /gipsy/data and create a zfs snapshot.
    # zfs snapshot gipsy/data@backup

    I run a incremental backup
    # dsmc inc /gipsy/data -snapshotroot=/gipsy/data/.zfs/snapshot/backup

    This backup the files in root directory /gipsy/data/, but it doesn't do a recursive backup of directories under /gipsy/data.
    How to fix this? With option -subdir=yes

    I change the command to:
    # dsmc inc /gipsy/data/* -subdir=yes -snapshotroot=/gipsy/data/.zfs/snapshot/backup

    Gives me result
    ANS7527E The (-SNAPSHOTROOT) option is not valid in conjunction with 10 file specifications.

    I have tried a few other things on the same topic, but can't backup a directory structure using snapshotroot and zfs.:confused:

    Any ideas or workarounds welcome. Mounting zfs snapshot on a "real" directory?

    Regards

    Lennart
     
    Last edited: Mar 31, 2008
  2.  
  3. briner

    briner ADSM.ORG Member

    Joined:
    Mar 5, 2012
    Messages:
    11
    Likes Received:
    4
: zfs

Share This Page