tag:blogger.com,1999:blog-36912805688904893482024-02-08T18:57:56.640+01:00zyxBackupLinux Backup ScriptUnknownnoreply@blogger.comBlogger7125tag:blogger.com,1999:blog-3691280568890489348.post-42245513924206732152008-11-06T14:43:00.009+01:002009-02-02T21:41:49.722+01:00zyxBackup is a linux shell script designed to perform backupzyxBackup is a shell script, designed to perform different backups on a local computer. It makes a compressed archive of all backup selected in the configuration. It can also encrypt the archive, and upload it on a FTP server, or copy it via SCP.This script is designed to be executed in command line, or via a cron job. You can also copy it into /etc/cron.daily for a daily execution.Features (can Unknownnoreply@blogger.comtag:blogger.com,1999:blog-3691280568890489348.post-68181954966886081322008-11-05T18:00:00.009+01:002009-02-02T21:42:40.557+01:00DependencieszyxBackup is a shell script and depends on other commands, programs, or scripts.Basic commands (required):tar : To archives filesgzip : To compress archive file.bc : To calculate filesize.rm : To delete tmp files.touch : To create the empty archive file.Specific commands (depend on the options used) :dpkg : to get the list of installed packages (only on Debian/Ubuntu distros).logger : To write Unknownnoreply@blogger.comtag:blogger.com,1999:blog-3691280568890489348.post-43360217710866459012008-11-05T15:51:00.002+01:002008-11-10T09:13:39.220+01:00DiscussionsHere is the discussion page. Any comments, questions and suggestions are welcome.Unknownnoreply@blogger.com22tag:blogger.com,1999:blog-3691280568890489348.post-78097204523562541652008-11-05T14:51:00.003+01:002008-11-12T18:07:24.694+01:00ChangelogNew in version 0.3 (release 2008-11-13):Added option to send a report by email.Added the choice to backup full users' home directories or only the hidden configuration files.New in version 0.2 (release 2008-11-06) :Using also the time, on top of the date, for the archive name in case of more than one backup performed per day (But this can be personalized in the options below).Added verbosity Unknownnoreply@blogger.comtag:blogger.com,1999:blog-3691280568890489348.post-22929014178598385812008-11-05T10:53:00.002+01:002008-11-10T12:17:10.553+01:00IssuesThe script is not executed by cron, whereas it is copied in /etc/cron.dailyFirst of all, check that the script is executable. To be sure, launch it manually in command line. If it's not executed, then chmod the script to 755.example : # chmod 755 /etc/cron.daily/zyxBackup-0.2-81106If you can execute the script manually, but if the script is still not executed by cron, then the problem can come Unknownnoreply@blogger.comtag:blogger.com,1999:blog-3691280568890489348.post-63469943289060149962008-11-04T11:49:00.022+01:002008-11-10T12:15:24.600+01:00Using GPGGPG (GnuPG) stands for "The GNU Privacy Guard". GPG is a software designed to encrypt and sign data and communication.GPG is used in zyxBackup for -optionally- encrypting the archive file. Encrypting the archive can be interesting when you upload it on a public FTP server, because then you don't care if someone can download your archive file (which can contain private data!), because nobody can Unknownnoreply@blogger.comtag:blogger.com,1999:blog-3691280568890489348.post-9199792698178871622008-11-03T17:29:00.008+01:002008-11-07T18:00:01.167+01:00Memo GPGKeys management :Help on gpg : gpg --helpGenerate key pair : gpg --gen-keyRevoke a key : gpg --gen-revokeList public keys : gpg --list-keyKey management : gpg --edit-key [id] (adduid | trust | save | quit)Send a public key to a server : gpg --keyserver [pgp.mit.edu] --send-key [uid]Get a Key from a server : gpg --keyserver [pgp.mit.edu] --recv-keys [uid]Keys manipulation :Unknownnoreply@blogger.com