Hi folks,

Is it possible to recover a filesystem with an up-to-date local cache (.db and 
.params files), s3ql_data_ files, and the encryption master key?

I’m using s3ql with local storage backend (details below) - after cleanly 
unmounting the filesystem, I made a critical error and incorrectly deleted the 
s3ql files in the backend directory, except the s3ql_data_ directory.  
Unfortunately, extundelete and other utilities were only able to grab some of 
the older s3ql_metadata_bak and s3ql_seq_no files, not the most recent 
s3ql_metadata file or the passphrase file.

The last unmount action:
Oct 12 09:47:07 mount.s3ql[14294]: mount.s3ql[14294:Metadata-Upload-Thread] 
s3ql.mount.run: File system unchanged, not uploading metadata.
Oct 12 09:47:08 mount.s3ql[14294]: mount.s3ql[14294:MainThread] 
s3ql.mount.main: FUSE main loop terminated.
Oct 12 09:47:08 mount.s3ql[14294]: mount.s3ql[14294:MainThread] 
s3ql.mount.unmount: Unmounting file system...
Oct 12 09:47:08 mount.s3ql[14294]: mount.s3ql[14294:MainThread] 
s3ql.mount.main: File system unchanged, not uploading metadata.
Oct 12 09:47:08 mount.s3ql[14294]: mount.s3ql[14294:MainThread] 
s3ql.mount.main: Cleaning up local metadata...
Oct 12 09:47:08 mount.s3ql[14294]: mount.s3ql[14294:MainThread] 
s3ql.mount.main: All done.

Cache dir:
20717568 Oct 12 09:47 local:=2F=2F=2Fs3ql=2Fs3ql-overlay=2F.db
197 Oct 12 09:47 local:=2F=2F=2Fs3ql=2Fs3ql-overlay=2F.params
0 Oct  9 15:42 mount.s3ql_crit.log

Recovered files:
2628246 Oct 12 10:45 s3ql_metadata_bak_2
257749 Oct 12 10:45 s3ql_metadata_bak_4
650 Oct 12 10:44 s3ql_metadata_bak_8
276 Oct 12 10:47 s3ql_seq_no_10
276 Oct 12 10:47 s3ql_seq_no_13
275 Oct 12 10:49 s3ql_seq_no_4
338 Oct 12 10:48 s3ql_seq_no_5
275 Oct 12 10:48 s3ql_seq_no_6
275 Oct 12 10:48 s3ql_seq_no_8

It would save a few weeks of work to be able to restore access to the 
filesystem - any and all help is appreciated!

Thanks,
Nikhil

Background: I’m testing s3ql along with overlay and acd_cli’s FUSE mount for 
Amazon Cloud Drive.  s3ql’s local storage backend points to an overlay 
mountpoint with acd_cli as a read-only layer and a local directory as the rw 
layer.  Files are copied to the s3ql mountpoint, and periodically I unmount 
s3ql and acd, sync the local s3ql_data_ directory to acd s3ql_data_, delete the 
local contents of s3ql_data_, and re-mount acd and s3ql.  This setup is still 
in testing, so everything except file deletion is scripted, and naturally 
that’s the portion I erred on - instead of deleting just the local s3ql_data_ 
contents, I wiped out the entire contents of the local s3ql directory.  The 
s3ql_data_ files are completely up to date on acd and safe, but the metadata, 
passphrase, and other files in the root of the s3ql mount are gone.  

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to s3ql+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to