Backup script
Thilo Six
T.Six at gmx.de
Tue Jun 6 18:57:18 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Dotan Cohen wrote the following on 06.06.2006 14:57:
> I've been looking for a backup solution for my Kubuntu box, and I'm
> not really happy with any software that I see. So I'm trying to find a
> variant of "cp" that would just copy everything in /home/user/ that
> has been changed in the past X days to /home/user/backup including
> hidden files. I would then just burn ~/backup to a CD-R. I can't get a
> handle on the syntax, though. How is this done?
>
> Note, a link to a bash tutorial that covers this would be nice, too.
> I've several bookmarked, but I'm not very successful with them.
> Thanks.
>
> Dotan Cohen
Atached my own script. Should give you a start.
The target for the backup is /mnt/backup and you should replace USER
with the name of your real username.
After that you fiddle a little with paths but then it should smoothly
like here.
;)
bye Thilo
PS... ist GPL. hehe, which means if you improve it let me know.
- --
i am on Ubuntu 2.6 KDE
- - some friend of mine
gpg key: Ox4A411E09
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEhdANgkdHiUpBHgkRA+S3AJ9CWBAThoACXcJ06hPsjfeoJBNcNQCgk9Eh
MFCCw3Es5Q2VhLsxRzEtd1Q=
=Db2M
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: backup_home.sh
Type: application/x-shellscript
Size: 1348 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20060606/17026cd0/attachment.bin>
More information about the kubuntu-users
mailing list