Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i know how to use cdrecord to burn an iso, but can i use it to backup specific files that are not ISO?
if i wanted to back up my /var/www/html dir and every subdirectory how would i go about doing that with cdrecord, or do i need to learn an other program for that?
I do not know if there is any other way than to create an iso file, you make that with mkisofs
in general I use
mkisofs -R -J -r -f -v -o backup.iso directory_to_backup
I do not know if there is any other way than to create an iso file, you make that with mkisofs
in general I use
mkisofs -R -J -r -f -v -o backup.iso directory_to_backup
I hope this will work for you
Federico
ok so if i wanted to do that with my above dir i would do this:
mkisofs -R-J-r-f-v-o backup.iso /var/www/html/*
with or without spacing between the arugments and will the /* at the end get everything in the directory and subdirectories?
next question will be how do i extract that back to normal files once i burn it out to a cd? or will cdrecord extract the directory so i can just copy/paste it for use in restor if i need it, or for transfering to an other system when i start bring mirror sites online?
sorry for the bumb questions, but i really dont get the linux cli yet. learning slowing. to much M$ in my head. with EZcreator id just click and drag, hit burn and wait. all done.
great, so that does not really turn the files into the compress ISO format.
thank you so very much. wish i had known this the other day before my MDK10 system up and died on me. i could of saved my web page to CD and not have to rebuild it from scratch basicaly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.