Commit Graph

34 Commits

Author SHA1 Message Date
Peter J. Holzer 3d78d4dd82 Add umount-all-backups 2023-12-03 00:23:10 +01:00
Peter J. Holzer 92125c7c4e Uncompress gzipped files 2022-03-26 10:04:07 +01:00
Peter J. Holzer 615742845e Add scripts graph_free and graph_used 2021-01-31 13:33:33 +01:00
hjp 25fec312b0 Improve logging and documentation of backup device selection 2020-07-18 08:49:56 +00:00
hjp f26d6b6640 Run backups for different filesets in parallel 2019-11-09 10:22:34 +00:00
hjp 0d7a8e667b Report free space on all found backup volumes and the total 2019-09-28 09:17:55 +00:00
hjp f01efab3a6 Add documentation 2019-09-08 09:06:01 +00:00
hjp 90cdc088ed Add script to mount all backups
I had a simple zsh script before, but with LUKS support that would have
become more complex, so I just copied the relevant code from the backup
script.
2018-10-13 08:01:58 +00:00
hjp 86f05574e5 Use LUKS encryption if available 2018-10-01 20:48:07 +00:00
hjp 33d8e11a3e Create log dir if necessary 2018-03-05 19:32:59 +00:00
hjp d7446596d9 umount all unused backup dirs, cd into the used backup dir 2015-09-05 23:38:54 +00:00
hjp 99f174bd0d rebuild empty partitions. 2014-12-14 10:07:25 +00:00
hjp cd48a38516 Added option --age to expire all instances beyond a certain age. 2014-12-14 09:34:47 +00:00
hjp 5ae126f797 typo 2014-01-11 18:44:43 +00:00
hjp b58ef04af7 Added missing parameter to $versions->first(). How could this have
worked before?
2013-12-01 18:49:32 +00:00
hjp 4a046ecf3d reactivated remove_orphaned_files. 2013-12-01 12:17:15 +00:00
hjp 6982561a6d reimplemented the outer join in perl with two separate queries and a
judy bitmap. This is about 20 times faster (1 hour instead of 20 for
1.3E9 instances and 125E6 versions).
2013-12-01 12:10:35 +00:00
hjp 71e2f16454 moved removal of orphaned records into their own functions and after the
loop.
2013-12-01 09:08:38 +00:00
hjp dbd472cac6 Commit.
Flush stdout.
2013-12-01 09:01:58 +00:00
hjp 055cc98b3a fixed trivial errors 2013-11-26 21:51:49 +00:00
hjp b2eb491d08 script to remove session(s) from database. 2013-11-26 21:50:50 +00:00
hjp d5e1e04495 Check for gzipped files, too. 2013-11-26 21:50:11 +00:00
hjp 317671456d Added Simba/CA/DBI.pm and convert_mysql_to_pgsql to repository. 2013-11-13 00:24:35 +00:00
hjp 6a1be23732 Added dist_abstract and removed dependency on SHA1.
Added script simba_export.
2013-11-13 00:20:00 +00:00
hjp 440f4f67db avoid warning 2011-03-25 12:15:34 +00:00
hjp 3f08edbd25 this script checks for all instances with a given prefix whether they
actually exist and removes them from the database if they don't.

this is mostly useful after part of a backup has been (intentionally
or accidentally) deleted.
2010-11-15 10:26:14 +00:00
hjp fe23839aaf log mounts 2010-05-20 09:25:20 +00:00
hjp 3a8c8e86a8 estimate free space by inodes, too. 2010-04-24 20:23:58 +00:00
hjp 4aa78b8530 write to random backup device, not the least full 2010-04-13 21:54:39 +00:00
hjp 582cf47a11 Moved backup to scripts directory and added to script_files. 2009-09-24 08:12:13 +00:00
hjp 22bc19fd19 mysql doesn't support nested commands,
so we need to read a chunk of data from versions,
insert it into versions2 and instances,
then read the next chunk ...
2008-04-17 21:34:08 +00:00
hjp d0911e115e script to split versions table. 2008-04-13 10:37:20 +00:00
hjp 5cea787672 log files with timestamp 2007-11-15 20:18:15 +00:00
hjp 9f46b37420 moved da to scripts/da 2007-06-17 21:58:57 +00:00