Hi all,
While trying to upgrade to f17 i messed up my boot disk.
Not a problem I thought just install F17 as a fresh install as all my data is on other hard drives in a logical volume.
Problem I lost my logical volume configuration and can not open the logical volume.
Not a problem as I back up my /etc partition to amazon s3 using amanda and I copied my amanda config so if I lost the system I had a working config.
Problem my indexes are gone (did not know I needed to back them up as well).
Trying to restore using amrestore as it does not use indexes results in -
Restoring from tape DailySet1-1 starting with file 1.
amrestore: 1: skipping split dumpfile: date 20120501024502 host main disk /home/andrew/Documents/scans part 1/UNKNOWN lev 1 comp .gz program /bin/tar crypt enc server_encrypt /usr/sbin/amcrypt-ossl server_decrypt_option -d
amrestore: 2: skipping split dumpfile: date 20120501024502 host main disk /home/andrew/dosprog part 1/UNKNOWN lev 1 comp .gz program /bin/tar crypt enc server_encrypt /usr/sbin/amcrypt-ossl server_decrypt_option -d
amrestore: 3: skipping split dumpfile: date 20120501024502 host main disk /home/andrew/Dropbox/Photos part 1/UNKNOWN lev 0 comp .gz program /bin/tar crypt enc server_encrypt /usr/sbin/amcrypt-ossl server_decrypt_option -d
amrestore: 4: skipping split dumpfile: date 20120501024502 host main disk /home/andrew/Dropbox/certificates part 1/UNKNOWN lev 1 comp .gz program /bin/tar crypt enc server_encrypt /usr/sbin/amcrypt-ossl server_decrypt_option -d
amrestore: 5: skipping split dumpfile: date 20120501024502 host main disk "/home/andrew/My Kindle Content" part 1/UNKNOWN lev 1 comp .gz program /bin/tar crypt enc server_encrypt /usr/sbin/amcrypt-ossl server_decrypt_option -d
amrestore: 6: skipping split dumpfile: date 20120501024502 host main disk /home/andrew/Documents/Personal part 1/UNKNOWN lev 0 comp .gz program /bin/tar crypt enc server_encrypt /usr/sbin/amcrypt-ossl server_decrypt_option -d
amrestore: 7: skipping split dumpfile: date 20120501024502 host main disk "/home/andrew/Calibre Library" part 1/UNKNOWN lev 0 comp .gz program /bin/tar crypt enc server_encrypt /usr/sbin/amcrypt-ossl server_decrypt_option -d
amrestore: 8: skipping split dumpfile: date 20120501024502 host main disk /etc part 1/UNKNOWN lev 1 comp .gz program /bin/tar
anyone know how to restore a split backup from amazon s3 without indexes so I can remount my logical volume and get my data back?
I found this
http://wiki.zmanda.com/index.php/Res...th_split_dumps
but the files are named differently slot-35f00000001-b0000000000000000.data
Any thoughts?
Thanks
---------- Post added at 11:02 PM ---------- Previous post was at 09:20 PM ----------
Hi Again,
Downloaded the last tape from s3 and the filestart contains this
AMANDA: SPLIT_FILE 20120604024502 main /etc part 1/-1 lev 1 comp .gz program /bin/tar
ORIGSIZE=21530
DLE=<<ENDDLE
<dle>
<program>GNUTAR</program>
<disk>/etc</disk>
<level>1</level>
<auth>BSDTCP</auth>
<compress>FAST</compress>
<record>YES</record>
<index>YES</index>
<datapath>AMANDA</datapath>
</dle>
ENDDLE
To restore, position tape at start of file and run:
dd if=<tape> skip=1 | /usr/bin/gzip -dc | /bin/tar -xpGf - ...
I tried the dd command and after changing <tape> to the filename of the first backup file I get -
dd if=slot-35f00000007-b0000000000000000.data skip=1 | /bin/gzip -dc | /bin/tar -xpG
gzip: stdin: not in gzip format
/bin/tar: This does not look like a tar archive
/bin/tar: Exiting with failure status due to previous errors