Nico Schottelius
38ca0a1546
Revert "Keep a symlink to the current backup around. This allows us to"
...
This patch is broken for non local destinations.
This reverts commit 6de3c9877c
.
2009-02-04 15:12:27 +01:00
Tonnerre Lombard
6de3c9877c
Keep a symlink to the current backup around. This allows us to
...
establish automatic restore features (e.g. through Puppet file
facts).
2009-02-04 08:25:35 +01:00
Nico Schottelius
c133ba5df9
add release date
...
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-02-02 12:10:48 +01:00
Nico Schottelius
b3ad86f270
[BUGFIX] allow "&" in sourcepath
...
Bug description:
From: Tiziano Müller <dev-zero@g.o>
Subject: Notiz: Probleme mit Ampersand in source
Date: Tue, 07 Oct 2008 16:11:10 +0000
Hoi Nico
Kleine Notiz wie im IRC besprochen:
- Hat es in /etc/ccollect/sources/$BACKUPNAME/source ein Ampersand muss
dieses Escaped werden, da sonst folgender Fehler auftritt:
*snip*
[volumes_ForschungEntwicklung] 2008-10-05-03:10:03: Beginning to backup,
this may take some time...
[volumes_ForschungEntwicklung] 2008-10-05-03:10:03:
Creating /home/backup/volumes/Forschung&Entwicklung/daily.20081005-0310.15173 ...
[volumes_ForschungEntwicklung] 2008-10-05-03:10:03: Transferring
files...
[volumes_ForschungEntwicklung] bash: Entwicklung/*: No such file or
directory
[volumes_ForschungEntwicklung] rsync: connection unexpectedly closed (4
bytes received so far) [receiver]
[volumes_ForschungEntwicklung] rsync error: error in rsync protocol data
stream (code 12) at io.c(635) [receiver=3.0.2]
[volumes_ForschungEntwicklung] 2008-10-05-03:10:03: Finished backup
(rsync return code: 12).
[volumes_ForschungEntwicklung] 2008-10-05-03:10:03: Warning: rsync
exited non-zero, the backup may be broken (see rsync errors).
*snip*
- ein "&" im Namen fürs Backup,
also: /etc/ccollect/sources/volumes_Forschung&Entwicklung/ wird beim
Anzeigen (wie oben zu sehen) verschluckt.
Cheers,
Tiziano
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-02-02 11:47:45 +01:00
Nico Schottelius
b8b0ca107a
[BUGFIX] cd must be in subshell, otherwise breaks later
...
Due to wrong WD
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-01-16 14:44:59 +01:00
Jeroen Bruijning
5809571ca0
Fix bug in shell arithmetic
...
1. I got a syntax error in ccollect.sh once in a while, i think at
rollover. I changed the line
j=$((j+1))
to
j=$(($j+1))
(twice) and the error went away.
2008-06-13 11:34:43 +02:00
Nico Schottelius
fef686b449
remove basename - use standard vars defined in cconf
...
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-06-13 11:28:43 +02:00
Nico Schottelius
d5c7b57b09
makefile / hinweise für tools/
...
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-06-03 14:16:11 +02:00
Nico Schottelius
f096e412ea
Add support for global delete_incomplete to ccollect
...
Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
2008-04-26 12:59:24 +02:00
Nico Schottelius
0c2f5df283
update release date
2008-03-17 18:23:44 +01:00
Nico Schottelius
7b76e1ee65
bugfix: removing old backups
2008-03-17 12:21:35 +01:00
Nico Schottelius
842e668c4c
fix another endless loop
2008-03-17 12:11:09 +01:00
Nico Schottelius
96171314d7
add error detection to backup listing
2008-03-17 12:09:30 +01:00
Nico Schottelius
4e47c881fb
add more quotes
2008-03-17 12:08:40 +01:00
Nico Schottelius
8ace2a6520
fix endless loop
2008-03-17 12:06:17 +01:00
Nico Schottelius
0d5cc4ddbc
add ddir to --link-dest
2008-03-17 11:44:20 +01:00
Nico Schottelius
49ee2a24a3
remote support seems to work, even tested it ;-)
2008-03-14 07:53:11 +01:00
Nico Schottelius
89b4c993a5
import new pcmd
2008-03-14 06:50:24 +01:00
Nico Schottelius
e87f4e9a92
add gpl3 header to ccollect
2008-03-07 23:03:55 +01:00
Nico Schottelius
eef2d55c61
begin to implement backup to a host
2008-03-05 00:39:17 +01:00
Nico Schottelius
42e2c7e95d
Update version string
2007-10-02 13:28:14 +02:00
Nico Schottelius
be207d7520
update date and version
2007-08-27 19:15:35 +02:00
Nico Schottelius
f68a68a1e2
Finish problem with the marker
2007-08-27 19:10:02 +02:00
Nico Schottelius
c516175669
delete real path, print relative path
2007-08-27 19:00:43 +02:00
Nico Schottelius
5acca63d53
[BUGFIX]: Removing of backups was broken (forgot to prepend the path :/)
2007-08-27 18:57:14 +02:00
Nico Schottelius
feea0661a7
use . as a seperator for marking, not directly in the dir, which will be removed anyway.
2007-08-27 18:56:03 +02:00
Nico Schottelius
dcf92a1788
Update release date
2007-08-20 18:21:54 +02:00
Nico Schottelius
c0c19d2598
Minor cleanup
2007-08-20 17:33:09 +02:00
Nico Schottelius
2a45844e1c
Also warn if there's a mostly impossible error
2007-08-20 17:29:24 +02:00
Nico Schottelius
69ae9076e3
Add comment about --link-dest
2007-08-20 12:45:23 +02:00
Nico Schottelius
95b4b66a99
Add version information
2007-08-18 00:14:10 +02:00
Nico Schottelius
fd6a50a36b
with -tcp1 need to head -n1, not tail -n1 anymore
2007-08-17 23:50:40 +02:00
Nico Schottelius
2c80eab8e1
Include intelligent cloning
2007-08-17 23:31:45 +02:00
Nico Schottelius
d442277d68
Prepare release date
2007-08-17 00:19:28 +02:00
Nico Schottelius
88c295a5b7
typo
2007-08-16 21:46:02 +02:00
Nico Schottelius
aaf29c92b5
another case for _techo
2007-08-16 21:45:02 +02:00
Nico Schottelius
8f65880db5
Cleanups, cleanups, cleanups, ...
2007-08-16 21:37:39 +02:00
Nico Schottelius
dc28b25e3c
use _techo, not echo
2007-08-16 21:26:56 +02:00
Nico Schottelius
e2a143e0b6
Some cleanups
2007-08-16 21:25:46 +02:00
Nico Schottelius
a35e31e86c
In theory ccollect-0.6 is ready, now let's begin testing
2007-08-16 21:17:25 +02:00
Nico Schottelius
86960388df
Added initial support for cloning from different intervals
2007-08-16 21:11:13 +02:00
Nico Schottelius
45c5c29f77
Cleaned up old remove code
2007-08-16 20:41:03 +02:00
Nico Schottelius
8f6a942ae9
Finish incomplete deletion in general
2007-08-16 20:31:30 +02:00
Nico Schottelius
799c24faf3
Many formal cleanups
2007-08-16 20:17:54 +02:00
Nico Schottelius
624e5b419b
Many preparations for 0.6
2007-08-16 20:08:23 +02:00
Nico Schottelius
e92bd762d4
Begin reordering options
2007-08-14 15:40:23 +02:00
Nico Schottelius
ed91b488da
Change rsync_options to one argument per line
2007-08-14 15:31:49 +02:00
Nico Schottelius
63a683941f
Pass exclude in a safe way to rsync
2007-08-14 15:30:00 +02:00
Nico Schottelius
c042479097
Add much more timing information
...
And empty $@ and $#, which we'll reuse later.
2007-08-14 15:26:20 +02:00
Nico Schottelius
dc7d5d614b
Reorder: first check if we should take all sources, then execute pre-exec
2007-08-14 14:41:36 +02:00