backup to CD/DVD

Asked by Wladston Viana on 2007-04-07

Hy there,

I was looking for a solution to backup my data to CD/DVD with "incremental" steps, and the only tool I could find was the "Home User Backup".

That looks like a great application, but there is a problem. I keep my media - music, personal photos, personal videos, etc. in a separate partition, and I would like to also backup them, but the "Home User Backup" tool seems only to be able to backup the home directory.

Question 1 : Do you think it's apropriate to file a bug against that package, asking to support other directories ?

Question 2 : Is there any way to do what I want (backup my home folder and another folder on an incremental way to CD/DVD ) ?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Wladston Viana
Solved:
2007-05-03
Last query:
2007-05-03
Last reply:
2007-04-22
Ralph Janke (txwikinger) said : #1

You could try the package keep.

I hope this helps.

Wladston Viana (wladston) said : #2

txwikinger,

Well, I use ubuntu, and I wouldn't like to download the kde libs ... :/

Any other alternative you know of ?

you can easily use the rsync command on the console.

$ rsync -r -t -v --progress /to_backup_folder /backup_folder

rsync compares the /to_backup_folder and /backup_folder
and solve the differences doing a synchronization, you can
also set it to avoid the differences.

then you can grab the /backup_folder to a CD/DVD,
it would be better to you if you create a bash script to do it
with the cron service. Just get curios and take a walk
on google for a while. :-)

regards from Bolivia.

Wladston Viana (wladston) said : #4

Mario,

Greeting from Brazil! :)

Well, I'm a noob user that wouldn't like to be dealing with bash scripts ...

Isn't there a way to "hack" the "Home User Backup" application, so it backs up ~ AND /media ? Or any other way for the idiot-level bash scripter ?

I need them in separated partitions, because when I use another OS (to use programs like photoshop), I can access my media, since it's a FAT partition. Thus, the /media can't be inside the home folder, that is an ext3 partition :(

I've tried google several times, but I couldn't find any application that works on ubuntu and does the job.

The last option would be to try package keep from kubuntu, but I would leave this for a last resort. And the real lass resort would be to deal with the scripts, since I don't know how to do it ! :)

Thanks very much, though :)

but the "Home User Backup" tool seems only to be able to backup the home
directory.

I just install the Home User Backup, i can change the directory "folders to
backup", and "save backup to". Are you sure that you can change it?

There is no and idiot-levell bash scripter way (maybe noob), jajajaja ^_^
If you can fallow a cook recipe you can do bash, get the time
to learn it, it's a very powerful tool.

There are no mysteries on Linux, everything has a manual
and people who want to teach you ;-)

regards from Bolivia.

2007/4/8, Wladston Viana <email address hidden>:
>
> Question #4778 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+ticket/4778
>
> Status: Answered => Open
>
> Wladston Viana is still having a problem:
> Mario,
>
> Greeting from Brazil! :)
>
> Well, I'm a noob user that wouldn't like to be dealing with bash scripts
> ...
>
> Isn't there a way to "hack" the "Home User Backup" application, so it
> backs up ~ AND /media ? Or any other way for the idiot-level bash
> scripter ?
>
> I need them in separated partitions, because when I use another OS (to
> use programs like photoshop), I can access my media, since it's a FAT
> partition. Thus, the /media can't be inside the home folder, that is an
> ext3 partition :(
>
> I've tried google several times, but I couldn't find any application
> that works on ubuntu and does the job.
>
> The last option would be to try package keep from kubuntu, but I would
> leave this for a last resort. And the real lass resort would be to deal
> with the scripts, since I don't know how to do it ! :)
>
> Thanks very much, though :)
>

--
Mario César Señoranis Ayala.
http://creat1va.com

Wladston Viana (wladston) said : #6

Mario,

This is the problem. The tool lets you "Backup my home folder" OR "Backup ONLY an specific folder", but not both the home folder and the additional folder. If there could be a way for the user to add folders to be backed up, that would be great.

I know that bash scripts can unleash a great power to me ... however, I'm BLOATED by academic stuff to learn right now ... there is not enough time to try to learn another language and make the stuff I need by hand. Those may be effective, but they take a lot of time!

Agree that there is no secrets on linux - it just takes me a LOT of time whenever I try to make some things ... hopefully there is this support tool where kind souls like you help me to save time :)

There is a more linux way to do it. ^_^

suppose that you have a /home/user/foldertobackup,
choose it on "Home User Backup" like you want to
backup it. Now, before doing the backup, the solution
for your problem would be create symlinks.

now, you say that the folders are outside the /home
directory, let's do this:

$ln -s /media/harddrive1/images /home/user/foldertobackup/images
$ln -s /media/harddrive2/movies /home/user/foldertobackup/movies
$ln -s /media/harddrive3/music /home/user/foldertobackup/music
...
for every folder that you want to backup

"ln -s" creates a symbolic links, so you can create symlinks
on the /home/user/foldertobackup for every folder that
you want to backup.

Symlinks are not like Direct Access like WIndows, symlinks behave
just like a folder, and "Home User Backup" would get all data
inside the symlinks.

hope you find it helpful

Wladston Viana (wladston) said : #8

hum.... that looks like a quick and efficient method! :)

There is ONE folder I wish to backup - that folder is /media/media/
Inside this folder, there are tousands of subdirectories, so it wouldn't be possible to link every one on hand.

I did man ls to try to find how to link recursively, but I couldn't find it ... :/

any idea ?

Mackenzie Morgan (maco.m) said : #9

So then you do
ln -s /media/media /home/user/media

Then tell it to backup /home/user/media and it should recurse through just from that one thing all the way through all the subdirectories of /media/media since the backup utility doesn't usually just get top-level stuff and instead recurses through everything.

Wladston Viana (wladston) said : #10

I made the path, looks like it would work ....

But the application went into bugs and didn't work. I had to reboot the machine to be able to remove the drive from the disk :(

see bug 104619 and bug 104618.

Do anyone knows if I have an alternative to "keep", that works without using the command line ?

Wladston Viana (wladston) said : #11

Just tried again and that's more 2 wasted CDs. On the second attempt I've experienced other two different bugs. Wishing to check if the backup worked, trying to open "home backup restore" causes another crash.

And looks like it's not backing up the /media folder, as it only asked me 1CD to complete the backup.

I have 3 hard drives, on is my OS and home folder on a 40G Maxtor, 80G for media, and 20G for backups

OS/home hda
backups hdb
media hdd

i made my own bash script to back up everything, ill paste the output, note that 'weston and westoff' are my own commands.
apart from one or 2 permission denied errors, it works fine..

sacater@neo:~$ cd ..
sacater@neo:/home$ weston
Password:
sacater@neo:/home$ cp sacater/ /media/hdb/
cp: omitting directory `sacater/'
sacater@neo:/home$ cp -rf sacater/ /media/hdb/
cp: cannot open `sacater/.Xauthority' for reading: Permission denied
cp: cannot open `sacater/.local/share/applications/googleearth.desktop' for reading: Permission denied
cp: cannot access `sacater/.kde/share': Permission denied
cp: cannot open `sacater/.serverauth.7005' for reading: Permission denied
sacater@neo:/home$

Wladston Viana (wladston) said : #13

Sam,

That's a nice alternative ... but I don't have extra HD's to use as backup, and I would like to keep "incremental" backups, like, you make a master one, and later on it only backs up the files that changes later, like "home user backup" tool WOULD do if it worked....

Have you looked at sbackup?

https://help.ubuntu.com/community/BackupYourSystem/SimpleBackupSuite

It does pretty much what you are asking for. I have not used it for backup to optical media, but you could do that in a two stage process, backup with sbackup, then burn the backup(s) to CD/DVD.

Wladston Viana (wladston) said : #15

Alan,

Yes, I have tried, It seems to be what would solve my needs, it's only problem is the ability to write to optical disks. I would like a "set it and forget it" kind of solution, so I don't have to worry about burning the backup files into CD's.

Surely any "fire and forget" kind of backup is ultimately going to rely on you actually putting media in the drive?

In addition to which aren't hard disks considerably cheaper these days?

You could always run sbackup to regularly backup to disk, and then setup a cron job which burns that to CD/DVD. It would be fully automatic.

Wladston Viana (wladston) said : #17

Alan,

1. I would hope that when it's time for backup, "hume user backup" or whatever backup program I'm using would ask me to put a media on the burner.

2. I would like backup medias that can be detached from my desktop computer and taken elsewhere easily. Thus, maybe I could buy an external hard drive. Here in Brazil I can get 160GB for 319,00 and a CD (0,7 GB) for 0,90. Price per GB on HD is 2,00, where price per GB on the CD is 1,29. The CD is still cheaper. Although I think it's worth to buy an HD, I think the option to make backups to a CD should be offered to the user.

3. cronjob -> command line ... and cli is my last option on getting things done :( Is the only way via either "keep" or via the command line ?

you could in theory, purchase a usb memory device, a 2gb memory stick or a 6gb passport..

Simply copy your home area onto this

Wladston Viana (wladston) said : #19

Sam,

Those aren't cheap .... this is why I would like to stick with CD/DVD.

And besides, I would like to stick to "incremental" backups, so If I have a file lost since a long time ago, it's still recoverable.

Best Wladston Viana (wladston) said : #20

I bought a network storage server (named Kurobox) and I don't think I'll dedicate more energy in making backups to CD/DVDs.

However, this is still one issue to look after, considering the regular end-user needs.

wingfin (wingfin24) said : #21

Information for a solved problem:

Look through this listing
http://www.linuxlinks.com/Software/Backup/

the problem to finding answers with search engines is knowing what to ask
=>

¿Este mensaje no se muestra correctamente? Visitalo en tu
Navegador<http://us2.campaign-archive.com/?u=99032b859819644bfa3641213&id=60f309c800&e=6ce8c04981>

[image: Día de la Libertad del Software]

Conferencias Interesantes, Mesas, Demostraciones, y un ambiente agradable.

Empresas, Estudiantes, Ciudadanos y El sector publico se reunirán para
conocer, aprender y compartir información, ideas, propuestas y necesidades.
 ¡Regalos y Reconocimientos!

A los primero 100 asistentes les obsequiaremos un LiveCD oficial de Ubuntu
Desktop 10.04, además de varios reconocimientos a los asistentes.
   ¡Estas Invitado!

Participa en la celebración mundial de la Libertad del Software. El día de
la Libertad del Software es un esfuerzo para la socialización no solo para
mostrar las ventajas del Software Libre, si no también para promover su uso
para el beneficio del público.

Este evento fue establecido en 2004 desde entonces ha ido creciendo en
popularidad y más de 300 equipos de cerca de 60 países celebraron el segundo
Día de la Libertad de Software. Más de 500 equipos en 90 países alrededor
del mundo celebran el Día de la Libertad del Software.

*¡Ahora por primera vez en Bolivia, conferencias, demostraciones, amistades
y diversión!*

 Más información<http://ubuntu.us2.list-manage1.com/track/click?u=99032b859819644bfa3641213&id=ca6bdc2bed&e=6ce8c04981>
  ¿A quienes esta dirigido este evento?

   -

   A estudiantes, que deseen aprender y deseen compartir nuevas ideas.
    -

   A profesionales y empresas que deseen obtener experiencia sobre el uso de
   software libre, o exponer sus ideas respecto a las necesidades que tiene.
    -

   Al Sector público, para entender las ventajas del uso de software libre
   en la administración pública.
    -

   A Artistas, Educadores y Promotores de cultura, que deseen encontrar
   herramientas, ayuda, y discutir sobre cultura libre.
    -

   A todos el público, que quiera conocer, explorar y tener un buen momento
   y compartir.

 Más información<http://ubuntu.us2.list-manage.com/track/click?u=99032b859819644bfa3641213&id=81ce6d30f3&e=6ce8c04981>
  Descargas

   - Programa de Actividades
   <http://ubuntu.us2.list-manage.com/track/click?u=99032b859819644bfa3641213&id=d7cbcd54e2&e=6ce8c04981>
   (PDF)
   - Afiche<http://ubuntu.us2.list-manage.com/track/click?u=99032b859819644bfa3641213&id=1c83eaf16e&e=6ce8c04981>(PDF)
   - Triptico<http://ubuntu.us2.list-manage.com/track/click?u=99032b859819644bfa3641213&id=977c122d9b&e=6ce8c04981>(PDF)
   - Invitación al
Publico<http://ubuntu.us2.list-manage.com/track/click?u=99032b859819644bfa3641213&id=cc4bbd6f50&e=6ce8c04981>(PDF)

Más Recursos<http://ubuntu.us2.list-manage.com/track/click?u=99032b859819644bfa3641213&id=7ab96ecf76&e=6ce8c04981>

*Reenvialo a un
amigo*<http://us2.forward-to-friend.com/forward?u=99032b859819644bfa3641213&id=60f309c800&e=6ce8c04981>

Más información en:

http://wiki.softwarefreedomday.org/2010/SouthAmerica/Bolivia/Santa%20Cruz

Organizan:

 [image: http://mozillabolivia.org] <http://mozillabolivia.org> [image:
Asociación "Software y Cultura Libre"] [image:
http://www.ubuntu.org.bo]<http://www.ubuntu.org.bo>

Confirma tu asistencia en
Facebook<http://www.facebook.com/event.php?eid=154409231242556>,
por lo menos hasta que se halla liberado Diaspora<http://www.joindiaspora.com>

  *[image: poster_thumb.jpg]
Celebración del Día de la Libertad del
Software*<http://www.facebook.com/event.php?eid=154409231242556>
Sábado 2pm - 8pm
(Asístire<http://www.facebook.com/event.php?eid=154409231242556>
)

 [image: Licencia de Creative
Commons]<http://ubuntu.us2.list-manage.com/track/click?u=99032b859819644bfa3641213&id=f8111f35b4&e=6ce8c04981>
Este obra está bajo una licencia de Creative Commons Attribution-ShareAlike
3.0 Unported<http://ubuntu.us2.list-manage1.com/track/click?u=99032b859819644bfa3641213&id=2a1e90d131&e=6ce8c04981>.

--
*Mario César Señoranis Ayala.*
→ *http://twitter.com/mariocesar_bo* <http://twitter.com/mariocesar_bo>
→ *http://facebook.com/mariocesar* <http://facebook.com/mariocesar>

¿Este mensaje no se muestra correctamente? Visitalo en tu
Navegador<http://us2.campaign-archive.com/?u=99032b859819644bfa3641213&id=60f309c800&e=6ce8c04981>

[image: Día de la Libertad del Software]

Conferencias Interesantes, Mesas, Demostraciones, y un ambiente agradable.

Empresas, Estudiantes, Ciudadanos y El sector publico se reunirán para
conocer, aprender y compartir información, ideas, propuestas y necesidades.
 ¡Regalos y Reconocimientos!

A los primero 100 asistentes les obsequiaremos un LiveCD oficial de Ubuntu
Desktop 10.04, además de varios reconocimientos a los asistentes.
   ¡Estas Invitado!

Participa en la celebración mundial de la Libertad del Software. El día de
la Libertad del Software es un esfuerzo para la socialización no solo para
mostrar las ventajas del Software Libre, si no también para promover su uso
para el beneficio del público.

Este evento fue establecido en 2004 desde entonces ha ido creciendo en
popularidad y más de 300 equipos de cerca de 60 países celebraron el segundo
Día de la Libertad de Software. Más de 500 equipos en 90 países alrededor
del mundo celebran el Día de la Libertad del Software.

*¡Ahora por primera vez en Bolivia, conferencias, demostraciones, amistades
y diversión!*

 Más información<http://ubuntu.us2.list-manage1.com/track/click?u=99032b859819644bfa3641213&id=ca6bdc2bed&e=6ce8c04981>
  ¿A quienes esta dirigido este evento?

   -

   A estudiantes, que deseen aprender y deseen compartir nuevas ideas.
    -

   A profesionales y empresas que deseen obtener experiencia sobre el uso de
   software libre, o exponer sus ideas respecto a las necesidades que tiene.
    -

   Al Sector público, para entender las ventajas del uso de software libre
   en la administración pública.
    -

   A Artistas, Educadores y Promotores de cultura, que deseen encontrar
   herramientas, ayuda, y discutir sobre cultura libre.
    -

   A todos el público, que quiera conocer, explorar y tener un buen momento
   y compartir.

 Más información<http://ubuntu.us2.list-manage.com/track/click?u=99032b859819644bfa3641213&id=81ce6d30f3&e=6ce8c04981>
  Descargas

   - Programa de Actividades
   <http://ubuntu.us2.list-manage.com/track/click?u=99032b859819644bfa3641213&id=d7cbcd54e2&e=6ce8c04981>
   (PDF)
   - Afiche<http://ubuntu.us2.list-manage.com/track/click?u=99032b859819644bfa3641213&id=1c83eaf16e&e=6ce8c04981>(PDF)
   - Triptico<http://ubuntu.us2.list-manage.com/track/click?u=99032b859819644bfa3641213&id=977c122d9b&e=6ce8c04981>(PDF)
   - Invitación al
Publico<http://ubuntu.us2.list-manage.com/track/click?u=99032b859819644bfa3641213&id=cc4bbd6f50&e=6ce8c04981>(PDF)

Más Recursos<http://ubuntu.us2.list-manage.com/track/click?u=99032b859819644bfa3641213&id=7ab96ecf76&e=6ce8c04981>

*Reenvialo a un
amigo*<http://us2.forward-to-friend.com/forward?u=99032b859819644bfa3641213&id=60f309c800&e=6ce8c04981>

Más información en:

http://wiki.softwarefreedomday.org/2010/SouthAmerica/Bolivia/Santa%20Cruz

Organizan:

 [image: http://mozillabolivia.org] <http://mozillabolivia.org> [image:
Asociación "Software y Cultura Libre"] [image:
http://www.ubuntu.org.bo]<http://www.ubuntu.org.bo>

Confirma tu asistencia en
Facebook<http://www.facebook.com/event.php?eid=154409231242556>,
por lo menos hasta que se halla liberado Diaspora<http://www.joindiaspora.com>

  *[image: poster_thumb.jpg]
Celebración del Día de la Libertad del
Software*<http://www.facebook.com/event.php?eid=154409231242556>
Sábado 2pm - 8pm
(Asístire<http://www.facebook.com/event.php?eid=154409231242556>
)

 [image: Licencia de Creative
Commons]<http://ubuntu.us2.list-manage.com/track/click?u=99032b859819644bfa3641213&id=f8111f35b4&e=6ce8c04981>
Este obra está bajo una licencia de Creative Commons Attribution-ShareAlike
3.0 Unported<http://ubuntu.us2.list-manage1.com/track/click?u=99032b859819644bfa3641213&id=2a1e90d131&e=6ce8c04981>.

--
*Mario César Señoranis Ayala.*
→ *http://twitter.com/mariocesar_bo* <http://twitter.com/mariocesar_bo>
→ *http://facebook.com/mariocesar* <http://facebook.com/mariocesar>