a NERO user familiar with backing up data on multisession CDR, how do I do it in Linux too?
Hello. I was a happy user of Nero on Windows, though I am not a happy Windows user and now switched to Linux. My problem is I cannot backup using my favorite way anymore: I used to back up our project files (devided into 8 categories, each category have about 200MB files) on daily basis. This is how I do it on Windows. 1. on monday, prepare 8 empty CDR, one for each category, back up everything (each CDR take 200MB with 400MB free space); 2. on the following days, launch Nero and select continue multi-session, it will AUTOMATICALLY add every file added in that day or replaced in that day, removing every file removed that day, and create another session for only the changed documents. Every day around 30MB files are changed in each category, every CDR is filled with an 30MB session. 3. repeat this for one week, on the weekend, store these CDR backups and prepare new blank CDR for the next week. This is actually very convenient for me, each CDR is labeled with week number and project category name. If the manager ask for files on Jan 12th in the training project, I go to find the CDR in training project backup CDs, find that week's backup, figure out 12th is a Thursday, thus mount the 4th session. I actually have been doing this for years. Now I switched to SuSE linux and no longer know how to do the same operation. k3b doesn't automatically replace old files when I continue multi-session disc, besides, there seems to be no way to remove a file from a previous session, right click a file in an imported session in k3b, there is no option to remove it. I am not afraid of commandline, thus if it is possible at all to do the backup the same mechanism I did on Windows, I would love to sit down and write some backup scripts with mkisofs/cdrecord. However as I read through the manual of both mkisofs and cdrecord, there are no clear instructions on how to modify the directory structure of previous session and apply it to current session. E.g. in mkisofs -C and -M can be used to import previous session, but there are no written instruction on how to remove a file after imported previous session. Can you please let me know if it is possible at all to manipulate the backup operation in Linux? If possible, where can I look for docs on how to generate proper iso image with mkisofs for a session modified from previous session (more specifically, how to delete a file from previous session)? Thank you in advance! P.S. I also tried nero Linux version, for two reasons I cannot use it yet: first it doesn't install at all (some errors), second, it seems not able to operate through SSH, since after switched to Linux we separated file server to the server room 50m from my office, I would prefer to sit in the office to do the backup by using scripts and ssh. P.S. Please redirect me to another proper mailing list if you think I'd better post questions there. I am a bit afraid this question is pretty into the depth of mkisofs and should go to some other groups. P.S. Now I am using one single CDR for each backup, thus currently I use 7 times more CDRs to backup then I used to. -- 锐业软服(国内业务) http://www.realss.cn Real SoftService http://www.realss.com 销售咨询(Sales Department): 0086 592 20 99987 (Chinese, German, English) 国际业务(International Sales): 0086 10 8460 6011 (German and English) 联系:厦门大学科技园,嘉庚二号楼6楼 邮政:厦门大学2312号信箱(邮编361005)
张韡武 wrote:
Hello. I was a happy user of Nero on Windows, though I am not a happy Windows user and now switched to Linux. My problem is I cannot backup using my favorite way anymore:
I used to back up our project files (devided into 8 categories, each category have about 200MB files) on daily basis. This is how I do it on Windows.
1. on monday, prepare 8 empty CDR, one for each category, back up everything (each CDR take 200MB with 400MB free space); 2. on the following days, launch Nero and select continue multi-session, it will AUTOMATICALLY add every file added in that day or replaced in that day, removing every file removed that day, and create another session for only the changed documents. Every day around 30MB files are changed in each category, every CDR is filled with an 30MB session. 3. repeat this for one week, on the weekend, store these CDR backups and prepare new blank CDR for the next week.
This is actually very convenient for me, each CDR is labeled with week number and project category name. If the manager ask for files on Jan 12th in the training project, I go to find the CDR in training project backup CDs, find that week's backup, figure out 12th is a Thursday, thus mount the 4th session. I actually have been doing this for years. Now I switched to SuSE linux and no longer know how to do the same operation. k3b doesn't automatically replace old files when I continue multi-session disc, besides, there seems to be no way to remove a file from a previous session, right click a file in an imported session in k3b, there is no option to remove it.
I am not afraid of commandline, thus if it is possible at all to do the backup the same mechanism I did on Windows, I would love to sit down and write some backup scripts with mkisofs/cdrecord. However as I read through the manual of both mkisofs and cdrecord, there are no clear instructions on how to modify the directory structure of previous session and apply it to current session. E.g. in mkisofs -C and -M can be used to import previous session, but there are no written instruction on how to remove a file after imported previous session.
Can you please let me know if it is possible at all to manipulate the backup operation in Linux? If possible, where can I look for docs on how to generate proper iso image with mkisofs for a session modified from previous session (more specifically, how to delete a file from previous session)?
Thank you in advance!
P.S. I also tried nero Linux version, for two reasons I cannot use it yet: first it doesn't install at all (some errors), second, it seems not able to operate through SSH, since after switched to Linux we separated file server to the server room 50m from my office, I would prefer to sit in the office to do the backup by using scripts and ssh.
P.S. Please redirect me to another proper mailing list if you think I'd better post questions there. I am a bit afraid this question is pretty into the depth of mkisofs and should go to some other groups.
P.S. Now I am using one single CDR for each backup, thus currently I use 7 times more CDRs to backup then I used to.
Just a side-note: Nero is available for Linux, under the name NeroLINUX I have no idea if this will help you, because I don't know if Nero offers the same features in their Linux version of their product, as the Windows version.
On Sun, September 17, 2006 12:13 am, å¼ é¡æ¦ wrote:
Hello. I was a happy user of Nero on Windows, though I am not a happy Windows user and now switched to Linux. My problem is I cannot backup using my favorite way anymore:
<snip> Have you looked into DAR or KDAR? I think it might do what you need. It can make an incremental backup of whatever folder(s) you want. You can then drop these on your CDR. -- Kai Ponte www.perfectreign.com || www.4thedadz.com remember - a turn signal is a statement, not a request
I know that K3b is able to do basic multisession, and I know that "tar" command is able to do incremental backup data since date "X", so you might use the command below to backup: tar -cvz --newer-mtime 2006-9-1 -f mybackup-20060901.tgz Dir-to-backup/ explanation: "tar : create, verbose, gnu zip, start from modified date 2006, September, 1st, backup to file: "mybackup.tgz", backup the following dirs: Dir-to-backup/ Dir-to-backup2/ ..." extraction is much easier- just use: tar -xvf mybackup.tgz one caveeat: this command will NOT delete your old, deleted files from archive. So do full backup from time to time. This will fix this small problem.
Alexey Eremenko wrote:
I know that K3b is able to do basic multisession, and I know that "tar" command is able to do incremental backup data since date "X", so you might use the command below to backup:
tar -cvz --newer-mtime 2006-9-1 -f mybackup-20060901.tgz Dir-to-backup/
explanation: "tar : create, verbose, gnu zip, start from modified date 2006, September, 1st, backup to file: "mybackup.tgz", backup the following dirs: Dir-to-backup/ Dir-to-backup2/ ..."
extraction is much easier- just use: tar -xvf mybackup.tgz
one caveeat: this command will NOT delete your old, deleted files from archive.
So do full backup from time to time. This will fix this small problem.
Or even better, use rsync, which will preserve permissions, and delete removed files. rsync even works over remote protocols, if this should ever come to your mind. Example: rsync -avz --delete --progress /important-files /backup/ (archive (preserve permissions, recursive, copy symlinks as symlinks, preserve times, preserve group/owner and device), verbose, compress transfer (if over remote), delete files that does not exist anymore, show progress) This however, will not compress your files. //Sylvester
在 2006-09-17日的 15:13 +0800,张韡武写道:
Hello. I was a happy user of Nero on Windows, though I am not a happy Windows user and now switched to Linux. My problem is I cannot backup using my favorite way anymore:
I used to back up our project files (devided into 8 categories, each category have about 200MB files) on daily basis. This is how I do it on Windows.
1. on monday, prepare 8 empty CDR, one for each category, back up everything (each CDR take 200MB with 400MB free space); 2. on the following days, launch Nero and select continue multi-session, it will AUTOMATICALLY add every file added in that day or replaced in that day, removing every file removed that day, and create another session for only the changed documents. Every day around 30MB files are changed in each category, every CDR is filled with an 30MB session. 3. repeat this for one week, on the weekend, store these CDR backups and prepare new blank CDR for the next week.
This is actually very convenient for me, each CDR is labeled with week number and project category name. If the manager ask for files on Jan 12th in the training project, I go to find the CDR in training project backup CDs, find that week's backup, figure out 12th is a Thursday, thus mount the 4th session. I actually have been doing this for years. Now I switched to SuSE linux and no longer know how to do the same operation. k3b doesn't automatically replace old files when I continue multi-session disc, besides, there seems to be no way to remove a file from a previous session, right click a file in an imported session in k3b, there is no option to remove it.
I am not afraid of commandline, thus if it is possible at all to do the backup the same mechanism I did on Windows, I would love to sit down and write some backup scripts with mkisofs/cdrecord. However as I read through the manual of both mkisofs and cdrecord, there are no clear instructions on how to modify the directory structure of previous session and apply it to current session. E.g. in mkisofs -C and -M can be used to import previous session, but there are no written instruction on how to remove a file after imported previous session.
Can you please let me know if it is possible at all to manipulate the backup operation in Linux? If possible, where can I look for docs on how to generate proper iso image with mkisofs for a session modified from previous session (more specifically, how to delete a file from previous session)?
Thank you in advance!
P.S. I also tried nero Linux version, for two reasons I cannot use it yet: first it doesn't install at all (some errors), second, it seems not able to operate through SSH, since after switched to Linux we separated file server to the server room 50m from my office, I would prefer to sit in the office to do the backup by using scripts and ssh.
P.S. Please redirect me to another proper mailing list if you think I'd better post questions there. I am a bit afraid this question is pretty into the depth of mkisofs and should go to some other groups.
P.S. Now I am using one single CDR for each backup, thus currently I use 7 times more CDRs to backup then I used to.
Thank you for everyone who provided suggestions, special thanks to Kai suggested KDAR which provide compression over incremental backup. I dig into mkisofs and realized I. through commandline, it is possible to tell mkisofs to make new session based on existing directory but only with the changes to it. mkisofs can replace files changed, add new files and CAN remove old files that no longer used. The key point is to supply '-old-root' parameter. The downside is this is done automatically, e.g. you cannot remove a single file from previous session without updating the rest. II. mkisofs currently cannot give control over this to 3rd application (like k3b), this is why we cannot right click and delete a file from previous session in k3b. However the latest mkisofs support some extra commandline parameter that allow 3rd application give more detailed control (e.g. removing a single file from previous session). We just need to wait for k3b's future version to start use these parameters.
participants (4)
-
Alexey Eremenko
-
PerfectReign
-
Sylvester Lykkehus
-
张韡武