| PLEX86 | ||
|
Copy big folder from a NTFS parbreastion to an external HD 7485Recognizing Canon Optura 20 camera I have connected my Canon Optura 20 to the USB ports on my Linux box, and the camera seems to be recognized... On Tue, 14 Nov 2006 02:16:29 -0800, horacius.rex Yes, you could have encrypted it. There are a variety of options, using device mapper. I would prefer using ntfsclone, instead of dd- but use whatever you are comfortable with. The data stream from either dd or ntfsclone will come from the source parbreastion and will be encrypted to its destination on the fly. Device mapper is quick and transparent. Learning about device mapper is definitely worthwhile, IMO. You'll need the userspace tools in addition to the kernel module (which is included in recent 2.6.x kernels) OT: I have a project which enables booting from an encrypted root filesystem. The key component is device mapper. This enables using encrypted root and swap for protecting your system. Back on-topic: In the following example, subsbreastute values that are appropriate for your system if adapting the solution shown below. And as always, the usual caveats about being careful apply here. Be sure of your intended target whenever you are working at the parbreastion level, etc. Verify all commands are appropriate for your system before proceeding, etc. Example: Backup an ntfs parbreastion to a file on an encrypted parbreastion. # modprobe dm-crypt # cryptsetup -c aes -h plain create sda1dev-sda1 # mkdirmnt-esda1 # mountdev-mapper-sda1mnt-esda1 # cdmnt-esda1 # mkdir -p windowsbackupx-2006-11-14 # cd windowsbackupx-2006-11-14 # ntfsclone -s -o c.sf.imgdev-hda1 # cd # umountmnt-esda1 # dmsetup remove sda1 device mapper is very versatile, and it backwards compatible with cryptoloop (by specifying "-h plain".) Check it out. The above examples buttume that the backup is written directly from the same computer (source and target on the same computer). This post explains how to use a network transport to do the same thing. Here is the the example from that post with adaption for using device-mapper encryption. BACKUP Steps on computer to be backed up: 1. Boot Slackware rescue disc, Slax LiveCD or similar with ntfsprogs installed. 2. Start networking and get a network address if necessary. 3. Determine parbreastions to be backed up. This buttumes hda1 is a Windows ntfs parbreastion. Issue this command (after step 1 below for proper sequence): # ntfsclone -s -o -dev-hda1 nc -w 2 storage.network 1234 Steps on computer which will hold backed up data (computer name= storage.network): 1. The above command is executed before step 3 (above): # modprobe dm-crypt # cryptsetup -c aes -h plain create sda1dev-sda1 # mkdirmnt-esda1 # mountdev-mapper-sda1mnt-esda1 # cdmnt-esda1 # mkdir -p windowsbackupx-2006-11-14 # cd windowsbackupx-2006-11-14 unable to start nfsd nfssvc "Address already in use" 7490 looks like a bug to me and not related to alredy running nfsd etc; strace -f -x -otmp-nfsd.trace rpc.nfsd 1929 open("-proc-fs-nfsd-threads", OWRONLYOLARGEFILE) = 4 1929 write(4, "8... 2. Clean up when complete # cd # umountmnt-esda1 # dmsetup remove sda1 -- Douglas Mayne
|
||||
Recognizing Canon Optura 20 camera Linux groups from Newsgroups The #1 Usenet Provider on the Internet
Copy big folder from a NTFS parbreastion to an external HD 7484 |
||||