]>
git.llucax.com Git - software/bacap.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Leandro Lucarella [Sat, 25 Sep 2021 10:20:56 +0000 (12:20 +0200)]
Fail if the BACKUP_DIR doesn't exist
This avoids starting a backup when, for example, the backup dir lives in
an external volume and it is not mounted.
Leandro Lucarella [Sat, 25 Sep 2021 10:19:47 +0000 (12:19 +0200)]
Fix overriding config per-host
All the config has to be re-evaluated when overriding a host's config.
Leandro Lucarella [Sat, 25 Sep 2021 10:17:12 +0000 (12:17 +0200)]
Rename print/log functions with more intuitive names
Leandro Lucarella [Fri, 11 Mar 2016 04:05:55 +0000 (01:05 -0300)]
Revert "Add Flattr button to HTML README output"
This reverts commit
ce0d94d8448e25b18e3628265e612283c6932921 .
Leandro Lucarella [Wed, 13 Mar 2013 17:03:24 +0000 (18:03 +0100)]
Add Flattr button to HTML README output
Leandro Lucarella [Thu, 2 Jun 2011 00:37:03 +0000 (21:37 -0300)]
Fix typo (thank Rayis for the report!)
Leandro Lucarella [Mon, 21 Mar 2011 15:16:20 +0000 (12:16 -0300)]
Fix documentation typo (string -> strong)
Leandro Lucarella [Mon, 21 Mar 2011 15:12:08 +0000 (12:12 -0300)]
Add -S (--sparse) to the default rsync flags
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>
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>
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>
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>
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>
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>
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>
Leandro Lucarella [Tue, 5 Oct 2010 15:22:57 +0000 (12:22 -0300)]
Fix typos and small documentation errors
Leandro Lucarella [Fri, 1 Oct 2010 23:54:51 +0000 (20:54 -0300)]
Fix console error reporting when using a LOG_FILE
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.
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.
Leandro Lucarella [Fri, 1 Oct 2010 23:09:30 +0000 (20:09 -0300)]
Let rsync do the hard linking
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.
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.
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>
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>
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>
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>
Rodrigo Campos [Mon, 12 Jul 2010 16:26:13 +0000 (13:26 -0300)]
Fix typos
Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
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>
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>
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>
Leandro Lucarella [Fri, 2 Jul 2010 00:10:50 +0000 (21:10 -0300)]
Initial commit