Hi again, I need some kind of backup utility that backs up a file to CD - R. The file is about 5MB so I should be able to use the CD a couple of times. It will need to be a command line program because it will be called from another program (it should copy the file to cd and return the status of the command). Thanks Henk "Softline VIP provides no warranty, express or implied, as to the accuracy or completeness of any advice or information provided herein and accepts no liability for loss or damage of any nature whatsoever, as a result of or which may be attributable to the use of, or the reliance upon, the advice or information provided herein."
On Tuesday 22 August 2006 00:16, Henk Roos wrote:
Hi again,
I need some kind of backup utility that backs up a file to CD - R. The file is about 5MB so I should be able to use the CD a couple of times. It will need to be a command line program because it will be called from another program (it should copy the file to cd and return the status of the command).
Thanks Henk
tar is your friend. CD-RW is better for this than CD-R. -- _____________________________________ John Andersen
Thanks John can I use tar to backup to a memory stick as well. Maybe I must rather use a memory stick, what do you think? Henk On Di 22.08.2006 10:14, John Andersen <jsa@pen.homeip.net> wrote:
On Tuesday 22 August 2006 00:16, Henk Roos wrote:
Hi again,
I need some kind of backup utility that backs up a file to CD - R. The file is about 5MB so I should be able to use the CD a couple of times. It will need to be a command line program because it will be called from another program (it should copy the file to cd and return the status of the command).
Thanks Henk
tar is your friend. CD-RW is better for this than CD-R.
-- _____________________________________ John Andersen
"Softline VIP provides no warranty, express or implied, as to the accuracy or completeness of any advice or information provided herein and accepts no liability for loss or damage of any nature whatsoever, as a result of or which may be attributable to the use of, or the reliance upon, the advice or information provided herein."
On Tuesday 22 August 2006 00:32, Henk Roos wrote:
Thanks John
can I use tar to backup to a memory stick as well. Maybe I must rather use a memory stick, what do you think?
Tar does not care what the target media is, so either should work. I have a disk in an external case which has both USB and Firewire interfaces. I use it for backup all the time. I can stack 3 or 4 full system backups on a 40 gig disk using Bru (which is specifically designed for backup). There are also some Graphical programs (kdar) if you want, but you said command line. -- _____________________________________ John Andersen
Hi John, I've tried using tat to backup to a USB Flash Drive but I can't seem to get it right I use the following command tar --create -f=/dev/sda1 upload.tar upload tar: =/dev/sda1: Cannot open: No such file or directory tar: Error is not recoverable: exiting now Should I rather just detemine the mount point and copy it to that directory. The thing is I want a program to do the backup automatically without user interface so I want to make sure the backup is successful that's why I think tar would write to the device directly. What do you think. Henk On Di 22.08.2006 10:28, John Andersen <jsa@pen.homeip.net> wrote:
On Tuesday 22 August 2006 00:32, Henk Roos wrote:
Thanks John
can I use tar to backup to a memory stick as well. Maybe I must rather use a memory stick, what do you think?
Tar does not care what the target media is, so either should work. I have a disk in an external case which has both USB and Firewire interfaces. I use it for backup all the time. I can stack 3 or 4 full system backups on a 40 gig disk using Bru (which is specifically designed for backup).
There are also some Graphical programs (kdar) if you want, but you said command line.
-- _____________________________________ John Andersen
"Softline VIP provides no warranty, express or implied, as to the accuracy or completeness of any advice or information provided herein and accepts no liability for loss or damage of any nature whatsoever, as a result of or which may be attributable to the use of, or the reliance upon, the advice or information provided herein."
tar --create -f=/dev/sda1 upload.tar upload tar: =/dev/sda1: Cannot open: No such file or directory tar: Error is not recoverable: exiting now
Single dash options do not take a = Oh BTW you would overwrite sda1, which is probably not what you want.
Should I rather just detemine the mount point and copy it to that directory. The thing is I want a program to do the backup automatically without user interface so I want to make sure the backup is successful that's why I think tar would write to the device directly. What do you think.
Jan Engelhardt --
On Tue, 2006-08-22 at 00:28 -0800, John Andersen wrote:
On Tuesday 22 August 2006 00:32, Henk Roos wrote:
Thanks John
can I use tar to backup to a memory stick as well. Maybe I must rather use a memory stick, what do you think?
Tar does not care what the target media is, so either should work. I have a disk in an external case which has both USB and Firewire interfaces. I use it for backup all the time. I can stack 3 or 4 full system backups on a 40 gig disk using Bru (which is specifically designed for backup).
There are also some Graphical programs (kdar) if you want, but you said command line. kdar will output a shell script that you can setup as a cron job and does full, or incremental backups.
t o n y
On Tuesday 22 August 2006 10:32, Henk Roos wrote:
Thanks John
can I use tar to backup to a memory stick as well. Maybe I must rather use a memory stick, what do you think?
tar creates a file - it doesn't care what your medium is. So yes, tar can be used on a usbstick, CD, over ftp/ssh, etc. In fact, it can create a tar file without writing a file to your local system, e.g, by using ssh: tar czf - mydirectory | ssh me@remotehost 'cat > mydirectory.tar.gz' -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
Henk Roos wrote:
Hi again,
I need some kind of backup utility that backs up a file to CD - R. The file is about 5MB so I should be able to use the CD a couple of times. It will need to be a command line program because it will be called from another program (it should copy the file to cd and return the status of the command).
I believe the command you're looking for is 'cdrecord'. It's been ages since I used it, so I have no recollection of the actual arguments, but there should be a man page.
On Tuesday 22 August 2006 10:16, Henk Roos wrote:
Hi again,
I need some kind of backup utility that backs up a file to CD - R. The file is about 5MB so I should be able to use the CD a couple of times. It will need to be a command line program because it will be called from another program (it should copy the file to cd and return the status of the command).
An alternative you may want to look into is network-based space providers. For example, mynetstorage.com offers 5GB of ftp storage for $5/month, with unlimited transfer volume. -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
participants (6)
-
Henk Roos
-
Jan Engelhardt
-
John Andersen
-
stephan beal
-
suse@rio.vg
-
Tony Nichols