]> git.llucax.com Git - software/bacap.git/log
software/bacap.git
13 years agoFix typo (thank Rayis for the report!)
Leandro Lucarella [Thu, 2 Jun 2011 00:37:03 +0000 (21:37 -0300)]
Fix typo (thank Rayis for the report!)

13 years agoFix documentation typo (string -> strong)
Leandro Lucarella [Mon, 21 Mar 2011 15:16:20 +0000 (12:16 -0300)]
Fix documentation typo (string -> strong)

13 years agoAdd -S (--sparse) to the default rsync flags
Leandro Lucarella [Mon, 21 Mar 2011 15:12:08 +0000 (12:12 -0300)]
Add -S (--sparse) to the default rsync flags

13 years agoAvoid creation of dangling symlinks
Rodrigo Campos [Wed, 2 Feb 2011 14:24:30 +0000 (11:24 -0300)]
Avoid creation of dangling symlinks

If rsync fails, possibly the new directory does not exist, so we should
not create the symlink. Because if we create it, the next backup would
not be incremental, because the --link-dest option does not point to an
existing directory.

This patch fixes this by checking the return code of rsync and only
creates the symlink if rsync exits successful or with error 24 ("Partial
transfer due to vanished source files") which is somewhat expected.

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
13 years agoPrint the backup start time for each host
Rodrigo Campos [Thu, 25 Nov 2010 14:07:24 +0000 (11:07 -0300)]
Print the backup start time for each host

This can be useful when the backup takes a lot more time that the
expected to finish and we don't know which host(s) caused the long
delay.

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
13 years agoDont use by default rsync --delete option
Rodrigo Campos [Thu, 25 Nov 2010 14:07:25 +0000 (11:07 -0300)]
Dont use by default rsync --delete option

As we are creating the directory empty (now rsync creates the directory,
cp is not used anymore to create hardlinks) it shouldn't be any weird
files there and we shouldn't need --delete.

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
14 years agoImprove tip "Providing a ssh key"
Rodrigo Campos [Thu, 18 Nov 2010 15:42:35 +0000 (12:42 -0300)]
Improve tip "Providing a ssh key"

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
14 years agoRemove uneeded rsync flag
Rodrigo Campos [Thu, 18 Nov 2010 15:42:34 +0000 (12:42 -0300)]
Remove uneeded rsync flag

rsync --delete-excluded was needed when cp was used to create the
hardlinks. Now that rsync creates them, it is not needed anymore.

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
14 years agoCreate necessary files for new hosts
Rodrigo Campos [Thu, 18 Nov 2010 15:42:33 +0000 (12:42 -0300)]
Create necessary files for new hosts

When a new host is added to the backup, we need to create the top-level
directory for its backup. Also, don't issue an error when the "current"
symlink can't be removed (because it doesn't exist yet).

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
14 years agoAdd tip to backup hosts with dynamic IP address
Rodrigo Campos [Fri, 29 Oct 2010 15:01:35 +0000 (12:01 -0300)]
Add tip to backup hosts with dynamic IP address

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
14 years agoFix typos and small documentation errors
Leandro Lucarella [Tue, 5 Oct 2010 15:22:57 +0000 (12:22 -0300)]
Fix typos and small documentation errors

14 years agoFix console error reporting when using a LOG_FILE
Leandro Lucarella [Fri, 1 Oct 2010 23:54:51 +0000 (20:54 -0300)]
Fix console error reporting when using a LOG_FILE

14 years agoAdd a Tips section to the README
Leandro Lucarella [Fri, 1 Oct 2010 23:49:03 +0000 (20:49 -0300)]
Add a Tips section to the README

Move some tips that were randomly distributed in the file to the Tips
section and add a couple of new ones.

14 years agoDon't provide any default options for ssh
Leandro Lucarella [Fri, 1 Oct 2010 23:45:28 +0000 (20:45 -0300)]
Don't provide any default options for ssh

Asuming the user will have a fast and trusted network is not the better
default, it seems more reasonable to trust the user default options.

14 years agoLet rsync do the hard linking
Leandro Lucarella [Fri, 1 Oct 2010 23:09:30 +0000 (20:09 -0300)]
Let rsync do the hard linking

14 years agoAdd FORCE_SYNC option
Leandro Lucarella [Fri, 1 Oct 2010 23:06:59 +0000 (20:06 -0300)]
Add FORCE_SYNC option

FORCE_SYNC forces synchronization even when target directory already
exist. Is useful to synchronize a copy interrupted by an error for
example.

14 years agoMake pinging hosts configurable
Martin Marrese [Thu, 26 Aug 2010 22:44:14 +0000 (19:44 -0300)]
Make pinging hosts configurable

Add a new configuration option to choose whether remote hosts should be
pinged to check if they are up or not. Disabling this option is useful if
your remote hosts don't reply to ICMP pings for security reasons.

14 years agoFix doc typos
Rodrigo Campos [Fri, 30 Jul 2010 02:31:39 +0000 (23:31 -0300)]
Fix doc typos

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
14 years agoFix extra_flags usage
Rodrigo Campos [Thu, 29 Jul 2010 18:40:35 +0000 (15:40 -0300)]
Fix extra_flags usage

We need to "clean" extra flags when we start to backup a new host to
make sure we use the correct options for the current host we are backing
up.

Also, we remove some unused variables that were replaced by
extra_flags.

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
14 years agoAdd example to view the differences between two backups
Rodrigo Campos [Mon, 12 Jul 2010 19:02:47 +0000 (16:02 -0300)]
Add example to view the differences between two backups

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
14 years agoPrint the hosts we failed to backup
Rodrigo Campos [Mon, 12 Jul 2010 16:26:14 +0000 (13:26 -0300)]
Print the hosts we failed to backup

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
14 years agoFix typos
Rodrigo Campos [Mon, 12 Jul 2010 16:26:13 +0000 (13:26 -0300)]
Fix typos

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
14 years agoUse $HOSTNAME as the default name of the local host
Rodrigo Campos [Mon, 12 Jul 2010 16:26:12 +0000 (13:26 -0300)]
Use $HOSTNAME as the default name of the local host

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
14 years agoSupport "--include-from" rsync option
Rodrigo Campos [Mon, 12 Jul 2010 16:26:11 +0000 (13:26 -0300)]
Support "--include-from" rsync option

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
14 years agoAllow config options on a per host basis
Rodrigo Campos [Mon, 12 Jul 2010 16:26:10 +0000 (13:26 -0300)]
Allow config options on a per host basis

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
14 years agoInitial commit
Leandro Lucarella [Fri, 2 Jul 2010 00:10:50 +0000 (21:10 -0300)]
Initial commit