]> git.sesse.net Git - backup.sh/log
backup.sh
9 years agoEnglishify a bit.
Steinar H. Gunderson [Sat, 4 Oct 2014 22:30:11 +0000 (00:30 +0200)]
Englishify a bit.

9 years agoreport.sh is no longer in use, so remove it.
Steinar H. Gunderson [Sat, 4 Oct 2014 22:28:47 +0000 (00:28 +0200)]
report.sh is no longer in use, so remove it.

9 years agoSome minor cleanups.
Steinar H. Gunderson [Sat, 4 Oct 2014 22:24:25 +0000 (00:24 +0200)]
Some minor cleanups.

9 years agoSupport native GNU tar incremental backups instead of using --newer.
Steinar H. Gunderson [Sat, 4 Oct 2014 22:21:49 +0000 (00:21 +0200)]
Support native GNU tar incremental backups instead of using --newer.

9 years agoRemove the $backuplevel = incremental test; nothing ever sets that value.
Steinar H. Gunderson [Sat, 4 Oct 2014 21:30:49 +0000 (23:30 +0200)]
Remove the $backuplevel = incremental test; nothing ever sets that value.

9 years agoUse pigz if it is available, for less CPU-bound operation.
Steinar H. Gunderson [Sat, 4 Oct 2014 21:22:50 +0000 (23:22 +0200)]
Use pigz if it is available, for less CPU-bound operation.

9 years agoWhen we run out of disk, do not count that as success.
Steinar H. Gunderson [Sat, 4 Oct 2014 20:54:58 +0000 (22:54 +0200)]
When we run out of disk, do not count that as success.

9 years agoRemove now-obsolete comment.
Steinar H. Gunderson [Sat, 4 Oct 2014 20:52:07 +0000 (22:52 +0200)]
Remove now-obsolete comment.

9 years agoMake the error message when /backup is missing slightly better.
Steinar H. Gunderson [Sat, 4 Oct 2014 20:50:30 +0000 (22:50 +0200)]
Make the error message when /backup is missing slightly better.

9 years agoRemove obsolete remotestat stuff.
Steinar H. Gunderson [Sat, 4 Oct 2014 20:49:26 +0000 (22:49 +0200)]
Remove obsolete remotestat stuff.

9 years agoRemove the built-in forking support; take that from cron instead.
Steinar H. Gunderson [Sat, 4 Oct 2014 20:46:44 +0000 (22:46 +0200)]
Remove the built-in forking support; take that from cron instead.

9 years agoSpelling fixes.
Steinar H. Gunderson [Sat, 4 Oct 2014 20:37:28 +0000 (22:37 +0200)]
Spelling fixes.

9 years agoRemove useless TODO.
root [Sat, 4 Oct 2014 20:36:14 +0000 (22:36 +0200)]
Remove useless TODO.

9 years agoAdd files that were never in RCS.
root [Sat, 4 Oct 2014 20:14:48 +0000 (22:14 +0200)]
Add files that were never in RCS.

9 years agoMissing changes after RCS import.
root [Sat, 4 Oct 2014 20:14:03 +0000 (22:14 +0200)]
Missing changes after RCS import.

10 years agoAdd .lastbackup
root [Thu, 3 Oct 2013 12:40:42 +0000 (12:40 +0000)]
Add .lastbackup

11 years agoFix mkdir for glob behavior of newer bash.
root [Mon, 16 Jul 2012 11:13:49 +0000 (11:13 +0000)]
Fix mkdir for glob behavior of newer bash.

11 years agoFix behavior with newer tail.
root [Mon, 16 Jul 2012 11:12:44 +0000 (11:12 +0000)]
Fix behavior with newer tail.

11 years agoSome minor changes that were done without checking out from RCS.
root [Mon, 16 Jul 2012 11:12:01 +0000 (11:12 +0000)]
Some minor changes that were done without checking out from RCS.

13 years agoFix some Norwenglish.
root [Tue, 5 Oct 2010 00:23:07 +0000 (00:23 +0000)]
Fix some Norwenglish.

13 years agoTake backup at lowest possible (non-idle) CPU priority, and idle I/O priority.
root [Tue, 5 Oct 2010 00:19:02 +0000 (00:19 +0000)]
Take backup at lowest possible (non-idle) CPU priority, and idle I/O priority.

13 years agoAll of our machines use regular tar as tar now; remove the logic for changing the...
root [Tue, 5 Oct 2010 00:12:51 +0000 (00:12 +0000)]
All of our machines use regular tar as tar now; remove the logic for changing the command.

14 years agoComment out debug statement that causes noise in cron mail
root [Wed, 13 Jan 2010 11:59:17 +0000 (11:59 +0000)]
Comment out debug statement that causes noise in cron mail

14 years agoImplement staggered full backup.
root [Sat, 5 Dec 2009 15:46:10 +0000 (15:46 +0000)]
Implement staggered full backup.

14 years agoFix outdated comment.
root [Sat, 5 Dec 2009 14:52:18 +0000 (14:52 +0000)]
Fix outdated comment.

14 years agoFix some evil && and || use.
root [Sat, 5 Dec 2009 14:47:31 +0000 (14:47 +0000)]
Fix some evil && and || use.

16 years agoUsing -k 2 rather than +2 for sorting by column 2
root [Thu, 3 Apr 2008 11:42:32 +0000 (11:42 +0000)]
Using -k 2 rather than +2 for sorting by column 2

16 years agoPID in lockfile, also prints when exists before run.
root [Thu, 14 Feb 2008 13:12:04 +0000 (13:12 +0000)]
PID in lockfile, also prints when exists before run.

16 years agoFix sdx/idx-filename
root [Mon, 14 Jan 2008 19:57:32 +0000 (19:57 +0000)]
Fix sdx/idx-filename

16 years agoPut PID of backup script in lockfile.
root [Sat, 22 Dec 2007 03:15:28 +0000 (03:15 +0000)]
Put PID of backup script in lockfile.

16 years agoTODOs fixed, known issues listed
root [Mon, 17 Dec 2007 21:24:34 +0000 (21:24 +0000)]
TODOs fixed, known issues listed

16 years agosdx is now sorted on file name
root [Mon, 17 Dec 2007 20:47:57 +0000 (20:47 +0000)]
sdx is now sorted on file name

16 years agowe use gzip
root [Mon, 17 Dec 2007 20:12:26 +0000 (20:12 +0000)]
we use gzip

16 years agonow uses pee instead of tee to speed up idx file creation
root [Mon, 17 Dec 2007 20:05:05 +0000 (20:05 +0000)]
now uses pee instead of tee to speed up idx file creation

16 years agoCosmetic cleanups: Better comments, logging and configuration variables readability
root [Mon, 17 Dec 2007 19:45:42 +0000 (19:45 +0000)]
Cosmetic cleanups: Better comments, logging and configuration variables readability

16 years agoLog in English
root [Mon, 17 Dec 2007 19:27:01 +0000 (19:27 +0000)]
Log in English

16 years agonow run backups in parallell again
root [Mon, 17 Dec 2007 19:14:03 +0000 (19:14 +0000)]
now run backups in parallell again

16 years agoAdded a few TODOs.
root [Sun, 16 Dec 2007 22:14:04 +0000 (22:14 +0000)]
Added a few TODOs.

16 years agofikset backupscript til å varsle dersom målfilesystemet tilfeldigvis er rot (/)
root [Fri, 17 Aug 2007 01:11:04 +0000 (01:11 +0000)]
fikset backupscript til å varsle dersom målfilesystemet tilfeldigvis er rot (/)

16 years agoLog to both stderr and stdout
root [Wed, 15 Aug 2007 15:10:14 +0000 (15:10 +0000)]
Log to both stderr and stdout

16 years agosort and tail now uses a slightly different syntax, as the old is deprecated in Etch
root [Wed, 15 Aug 2007 14:39:42 +0000 (14:39 +0000)]
sort and tail now uses a slightly different syntax, as the old is deprecated in Etch

16 years agoCheck for non-zero tar file instead of errors from tar.
root [Wed, 15 Aug 2007 14:36:46 +0000 (14:36 +0000)]
Check for non-zero tar file instead of errors from tar.

16 years agoCorrect logic on evaluating and running {pre,post}exec
root [Tue, 31 Jul 2007 20:41:24 +0000 (20:41 +0000)]
Correct logic on evaluating and running {pre,post}exec

16 years agoImportant note
root [Sun, 29 Jul 2007 14:15:32 +0000 (14:15 +0000)]
Important note

16 years agoWarn on {pre,Ãpost}exec failures
root [Sun, 29 Jul 2007 14:14:00 +0000 (14:14 +0000)]
Warn on {pre,Ãpost}exec failures

16 years agocontinue er ikke det samme som break, nei.
root [Fri, 27 Jul 2007 12:43:05 +0000 (12:43 +0000)]
continue er ikke det samme som break, nei.

16 years agoStøtter nå å kjøre som ikke-root.
root [Fri, 27 Jul 2007 01:24:38 +0000 (01:24 +0000)]
Støtter nå å kjøre som ikke-root.

16 years agoting kjører i parallell
root [Thu, 26 Jul 2007 15:38:39 +0000 (15:38 +0000)]
ting kjører i parallell

16 years agoLots of log message fixing, now prints nothing on stdout when there's no errors
root [Thu, 26 Jul 2007 14:24:40 +0000 (14:24 +0000)]
Lots of log message fixing, now prints nothing on stdout when there's no errors

16 years agoLess forks!
root [Thu, 26 Jul 2007 13:47:07 +0000 (13:47 +0000)]
Less forks!
-berge

16 years agoBetter handling of return value.
root [Thu, 26 Jul 2007 02:57:59 +0000 (02:57 +0000)]
Better handling of return value.

16 years agoRemove lockfile on successful ending (-:
root [Thu, 26 Jul 2007 02:23:32 +0000 (02:23 +0000)]
Remove lockfile on successful ending (-:

16 years agoNow implements locking and catch of SIGINT and SIGTERM
root [Thu, 26 Jul 2007 02:22:12 +0000 (02:22 +0000)]
Now implements locking and catch of SIGINT and SIGTERM

16 years agoVarious bug fixes and improvements
root [Thu, 26 Jul 2007 02:11:06 +0000 (02:11 +0000)]
Various bug fixes and improvements
-berge

16 years agoDrop -c blowfish; it's slower than the default (AES).
sesse [Wed, 25 Jul 2007 17:46:26 +0000 (17:46 +0000)]
Drop -c blowfish; it's slower than the default (AES).

16 years agoUse --one-file-system instead of -l, since the latter stopped working in etch.
sesse [Wed, 25 Jul 2007 17:44:51 +0000 (17:44 +0000)]
Use --one-file-system instead of -l, since the latter stopped working in etch.

16 years agoInitial revision
root [Wed, 25 Jul 2007 16:47:44 +0000 (16:47 +0000)]
Initial revision

16 years agoNow checks wether we actually can SSH to the computer we're backing up first.
root [Wed, 25 Jul 2007 16:47:19 +0000 (16:47 +0000)]
Now checks wether we actually can SSH to the computer we're backing up first.
-berge

16 years agoAner ikke hvem som har glemt å commite, jeg committer. -berge
root [Tue, 24 Jul 2007 22:43:22 +0000 (22:43 +0000)]
Aner ikke hvem som har glemt å commite, jeg committer. -berge

18 years agoFixed "socket ignored" bug. Script dumps error to .tmp_log
root [Sat, 4 Feb 2006 13:46:00 +0000 (13:46 +0000)]
Fixed "socket ignored" bug. Script dumps error to .tmp_log
and checks exit status when deciding if it should cat
erros. - adamcik

18 years agoAdded sortet file list and chmod for files.
root [Fri, 3 Feb 2006 16:01:22 +0000 (16:01 +0000)]
Added sortet file list and chmod for files.

18 years agoLa til exclude av nx-chroot/tmp - akai
root [Mon, 5 Sep 2005 10:24:10 +0000 (10:24 +0000)]
La til exclude av nx-chroot/tmp - akai

18 years agoInitial revision
root [Mon, 5 Sep 2005 10:19:59 +0000 (10:19 +0000)]
Initial revision

21 years agoprøver å spare diskplass.
root [Sat, 11 Jan 2003 19:39:04 +0000 (19:39 +0000)]
prøver å spare diskplass.

21 years agoincrease full backup numbers
root [Wed, 21 Aug 2002 18:56:12 +0000 (18:56 +0000)]
increase full backup numbers

22 years agoser ut som -z opsjonen til bash vil ha " rundt strengen
root [Mon, 10 Sep 2001 16:17:08 +0000 (16:17 +0000)]
ser ut som -z opsjonen til bash vil ha " rundt strengen

22 years agobare tatt med en du -k etter backup
root [Wed, 13 Jun 2001 19:11:53 +0000 (19:11 +0000)]
bare tatt med en du -k etter backup

22 years agoInitial revision
root [Thu, 31 May 2001 22:09:20 +0000 (22:09 +0000)]
Initial revision

23 years ago*** empty log message ***
root [Fri, 2 Mar 2001 00:57:56 +0000 (00:57 +0000)]
*** empty log message ***

23 years agoprøver med C til tar for å sette katalog istedenfor cd først.
root [Fri, 2 Mar 2001 00:55:20 +0000 (00:55 +0000)]
prøver med C til tar for å sette katalog istedenfor cd først.
grunnen til det er at vi evt kan prøve med suid tar senere

23 years agoflyttet /tmp/.backup til ~/.backup
root [Tue, 27 Feb 2001 11:25:03 +0000 (11:25 +0000)]
flyttet /tmp/.backup til ~/.backup

23 years ago*** empty log message ***
root [Wed, 22 Nov 2000 20:52:13 +0000 (20:52 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
root [Wed, 22 Nov 2000 14:41:22 +0000 (14:41 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
root [Wed, 22 Nov 2000 14:31:11 +0000 (14:31 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
root [Wed, 22 Nov 2000 12:42:14 +0000 (12:42 +0000)]
*** empty log message ***

23 years agolagt inn forsøk på støtte for env-fil. tenkte å ha ting der som kjøres før _hver_
root [Tue, 21 Nov 2000 16:17:48 +0000 (16:17 +0000)]
lagt inn forsøk på støtte for env-fil. tenkte å ha ting der som kjøres før _hver_
gang noe kjøres på klienten.

23 years agolitt komentarer
root [Sat, 11 Nov 2000 12:13:02 +0000 (12:13 +0000)]
litt komentarer

23 years ago*** empty log message ***
root [Fri, 10 Nov 2000 17:42:10 +0000 (17:42 +0000)]
*** empty log message ***

23 years agoflyttet .name filene
root [Fri, 10 Nov 2000 17:41:20 +0000 (17:41 +0000)]
flyttet .name filene

23 years ago*** empty log message ***
root [Fri, 10 Nov 2000 17:21:51 +0000 (17:21 +0000)]
*** empty log message ***

23 years agobare småtterier
root [Fri, 10 Nov 2000 16:16:35 +0000 (16:16 +0000)]
bare småtterier

23 years agonoen smaating litt penere
root [Mon, 6 Nov 2000 20:59:45 +0000 (20:59 +0000)]
noen smaating litt penere

23 years ago*** empty log message ***
root [Sat, 21 Oct 2000 17:34:12 +0000 (17:34 +0000)]
*** empty log message ***

23 years agonå også med diskusage
root [Sat, 21 Oct 2000 17:33:07 +0000 (17:33 +0000)]
nå også med diskusage

23 years ago*** empty log message ***
root [Thu, 19 Oct 2000 10:38:49 +0000 (10:38 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
root [Thu, 19 Oct 2000 10:37:28 +0000 (10:37 +0000)]
*** empty log message ***

23 years agonå med xml-stil på det som kommer ut
root [Thu, 19 Oct 2000 10:36:41 +0000 (10:36 +0000)]
nå med xml-stil på det som kommer ut

23 years ago*** empty log message ***
root [Thu, 19 Oct 2000 09:15:06 +0000 (09:15 +0000)]
*** empty log message ***

23 years agoInitial revision
root [Thu, 19 Oct 2000 09:06:03 +0000 (09:06 +0000)]
Initial revision

23 years ago*** empty log message ***
root [Mon, 16 Oct 2000 09:21:33 +0000 (09:21 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
root [Wed, 11 Oct 2000 15:44:21 +0000 (15:44 +0000)]
*** empty log message ***

23 years agoFreeBSD - kompatibel bruk av 'ls'
root [Thu, 5 Oct 2000 13:26:31 +0000 (13:26 +0000)]
FreeBSD - kompatibel bruk av 'ls'

23 years ago*** empty log message ***
root [Thu, 5 Oct 2000 11:13:49 +0000 (11:13 +0000)]
*** empty log message ***

23 years agoflyttet laging av kataloger litt opp for å fjerne noen meldinger ved
root [Sun, 18 Jun 2000 13:22:43 +0000 (13:22 +0000)]
flyttet laging av kataloger litt opp for å fjerne noen meldinger ved
nye partisjoner

23 years agomer oversetting
root [Fri, 16 Jun 2000 09:16:57 +0000 (09:16 +0000)]
mer oversetting

23 years agofjernet Start.. og Ferdig.. meldingene
root [Fri, 16 Jun 2000 07:41:26 +0000 (07:41 +0000)]
fjernet Start.. og Ferdig.. meldingene

23 years ago*** empty log message ***
root [Thu, 15 Jun 2000 16:34:20 +0000 (16:34 +0000)]
*** empty log message ***

23 years agoInitial revision
root [Thu, 15 Jun 2000 16:22:21 +0000 (16:22 +0000)]
Initial revision

23 years agoom vi ikke har exclude blir den nå laget med et enkelt innhold
root [Thu, 15 Jun 2000 16:03:48 +0000 (16:03 +0000)]
om vi ikke har exclude blir den nå laget med et enkelt innhold

23 years agomer oversetting
root [Thu, 15 Jun 2000 15:31:46 +0000 (15:31 +0000)]
mer oversetting