]> arthur.barton.de Git - backup-script.git/log
backup-script.git
10 years agoFix usage: --dry-run equals -n (not -d)
Alexander Barton [Tue, 22 Oct 2013 07:41:12 +0000 (09:41 +0200)]
Fix usage: --dry-run equals -n (not -d)

10 years agobackup-status: enhance status messages
Alexander Barton [Mon, 30 Sep 2013 11:55:45 +0000 (13:55 +0200)]
backup-status: enhance status messages

10 years agoAdd header to generated mail text
Alexander Barton [Mon, 30 Sep 2013 11:46:01 +0000 (13:46 +0200)]
Add header to generated mail text

10 years agoSet PATH to contain standard elements; call backup-script in same path
Alexander Barton [Mon, 30 Sep 2013 11:45:32 +0000 (13:45 +0200)]
Set PATH to contain standard elements; call backup-script in same path

10 years agoUse system "id" (filename) as target directory name
Alexander Barton [Thu, 26 Sep 2013 16:45:17 +0000 (18:45 +0200)]
Use system "id" (filename) as target directory name

10 years agoAdd support for generations using btrfs snapshots
Alexander Barton [Thu, 26 Sep 2013 16:33:22 +0000 (18:33 +0200)]
Add support for generations using btrfs snapshots

Actually this patch lacks the cleanup functionality, so you have to
delete old snapshots manually. But this will come in a separate patch!

10 years agoAutodetect "localhost" and 127.0.0.1 as being "local"
Alexander Barton [Thu, 26 Sep 2013 16:03:02 +0000 (18:03 +0200)]
Autodetect "localhost" and 127.0.0.1 as being "local"

10 years agoAllow overriding of "system" variable
Alexander Barton [Thu, 26 Sep 2013 15:44:40 +0000 (17:44 +0200)]
Allow overriding of "system" variable

10 years agoDon't remove "stamp file" in trial mode
Alexander Barton [Thu, 26 Sep 2013 13:11:10 +0000 (15:11 +0200)]
Don't remove "stamp file" in trial mode

10 years agoEnhance information messages
Alexander Barton [Thu, 26 Sep 2013 13:06:48 +0000 (15:06 +0200)]
Enhance information messages

10 years agoDon't show storage summary in trial mode
Alexander Barton [Thu, 26 Sep 2013 13:06:19 +0000 (15:06 +0200)]
Don't show storage summary in trial mode

10 years agoRemove calls to already removed Log function
Alexander Barton [Thu, 26 Sep 2013 13:00:49 +0000 (15:00 +0200)]
Remove calls to already removed Log function

10 years agoMake sure "system target directory" exists and is valid
Alexander Barton [Thu, 26 Sep 2013 12:33:55 +0000 (14:33 +0200)]
Make sure "system target directory" exists and is valid

10 years agoRemove Message, MessageLog, and Log functions; use "echo"
Alexander Barton [Thu, 26 Sep 2013 12:23:54 +0000 (14:23 +0200)]
Remove Message, MessageLog, and Log functions; use "echo"

10 years agoAdd /run to hardcoded exclude list
Alexander Barton [Tue, 24 Sep 2013 10:44:00 +0000 (12:44 +0200)]
Add /run to hardcoded exclude list

10 years agoAdjust list of hardcoded excluded directories
Alexander Barton [Tue, 24 Sep 2013 10:10:48 +0000 (12:10 +0200)]
Adjust list of hardcoded excluded directories

Only hardcode directories that never(!) make sense to backup, and introduce
new configuration variables "exclude_args_add" (for system configurations)
and "default_exclude_args_add" (for backup-script.conf) to set apropriate
settings and defaults for the local installation.

Now the following directories are always excluded:

/dev, /proc/, /sys/, /tmp, /var/tmp, /media, /mnt, /net, /var/cache/apt,
and /var/log.

10 years agoAllow setting more defaults in backup-script.conf
Alexander Barton [Tue, 24 Sep 2013 10:25:47 +0000 (12:25 +0200)]
Allow setting more defaults in backup-script.conf

The following variables can be used in backup-script.conf now:

 pre_exec
 post_exec
 default_target
 default_user
 default_ssh_args_add
 default_rsync_args_add
 default_compress
 default_ping
 default_local

10 years agoImplement "--dry-run" ("-d") command line option
Alexander Barton [Tue, 24 Sep 2013 10:01:10 +0000 (12:01 +0200)]
Implement "--dry-run" ("-d") command line option

10 years agoUse an exclamation mark for "system skipped" messages on errors
Alexander Barton [Tue, 24 Sep 2013 09:00:02 +0000 (11:00 +0200)]
Use an exclamation mark for "system skipped" messages on errors

10 years agoImplement --progress option (same as -p)
Alexander Barton [Tue, 24 Sep 2013 08:59:17 +0000 (10:59 +0200)]
Implement --progress option (same as -p)

10 years agoAdd Makefile
Alexander Barton [Mon, 23 Sep 2013 15:32:10 +0000 (17:32 +0200)]
Add Makefile

11 years agobackup-status: enhance output messages
Alexander Barton [Wed, 8 May 2013 10:03:35 +0000 (12:03 +0200)]
backup-status: enhance output messages

11 years agobackup-status: use /bin/bash
Alexander Barton [Wed, 8 May 2013 09:51:03 +0000 (11:51 +0200)]
backup-status: use /bin/bash

11 years agoAdd "backup-script.{pre|post}-exec" example scripts
Alexander Barton [Wed, 8 May 2013 09:35:23 +0000 (11:35 +0200)]
Add "backup-script.{pre|post}-exec" example scripts

11 years agoAdd "backup-status" script
Alexander Barton [Wed, 8 May 2013 09:33:40 +0000 (11:33 +0200)]
Add "backup-status" script

11 years agoNew configuration options "user" and "target"
Alexander Barton [Wed, 8 May 2013 09:18:13 +0000 (11:18 +0200)]
New configuration options "user" and "target"

11 years agoAllow handling of more than one target system at once
Alexander Barton [Wed, 8 May 2013 09:17:08 +0000 (11:17 +0200)]
Allow handling of more than one target system at once

13 years agoNew config option "ping"
Alexander Barton [Wed, 4 May 2011 15:47:26 +0000 (17:47 +0200)]
New config option "ping"

Default ist "1", ping the remote host to check if it is alive.
Set to "0" to always force rsync(1) to start.

13 years agoExecute rsync command using a subshell
Alexander Barton [Wed, 4 May 2011 15:47:07 +0000 (17:47 +0200)]
Execute rsync command using a subshell

13 years agoNew config option "ssh_args_add"
Alexander Barton [Wed, 4 May 2011 15:40:41 +0000 (17:40 +0200)]
New config option "ssh_args_add"

13 years agoAdded copyright notices; removed in-file history
Alexander Barton [Wed, 4 May 2011 15:31:20 +0000 (17:31 +0200)]
Added copyright notices; removed in-file history

13 years agoInitial commit
Alexander Barton [Wed, 4 May 2011 15:28:51 +0000 (17:28 +0200)]
Initial commit