Peter J. Holzer
1ae975f33f
Install umount-all-backups
2023-12-03 00:25:58 +01:00
Peter J. Holzer
3d78d4dd82
Add umount-all-backups
2023-12-03 00:23:10 +01:00
Peter J. Holzer
45095845fd
Limit instances to deduplicate by id
...
The instances table is partitioned by id. If we restrinct the search to
recent ids we only have to search a few partitions which should be
faster.
2023-11-29 06:04:02 +01:00
Peter J. Holzer
118bb0a2e7
Fix pruning
2023-11-29 06:03:36 +01:00
Peter J. Holzer
92125c7c4e
Uncompress gzipped files
2022-03-26 10:04:07 +01:00
Peter J. Holzer
e8c34ce1b5
Fix typo
2022-03-13 23:22:24 +01:00
Peter J. Holzer
7180c24cc3
Add (hardcoded) timeout to reserve_fileset
2021-07-25 12:22:54 +02:00
Peter J. Holzer
88f226757d
Add sortorder to filesets
2021-07-25 12:22:27 +02:00
Peter J. Holzer
24932a63ac
Log selected previous backup
2021-07-25 12:21:10 +02:00
Peter J. Holzer
289670b313
Treat zero length files specially for better performance
2021-07-25 12:19:18 +02:00
Peter J. Holzer
19b0faad02
Add linkdup_db to statistics
2021-07-25 12:18:09 +02:00
Peter J. Holzer
270c64e758
Log statistics in backup2disk
...
Backups are running in child processes so the CA object in the parent is
never updated. And per-fileset statistics are more interesting than the
total anyway.
2021-01-31 13:47:59 +01:00
Peter J. Holzer
0cbf922eda
Log progress by time instead of count
...
Instead of logging the current file name every 1000 files we now log it
every 10 seconds. This makes it easier to see where backup is slow.
2021-01-31 13:39:59 +01:00
Peter J. Holzer
164e6ab553
Log file version id
2021-01-31 13:38:50 +01:00
Peter J. Holzer
23998cefbd
Clamp mtime to +/- 2**31.
2021-01-31 13:36:33 +01:00
Peter J. Holzer
615742845e
Add scripts graph_free and graph_used
2021-01-31 13:33:33 +01:00
hjp
34ce8eb0bc
Implement timeout
2021-01-21 15:34:30 +00:00
hjp
d79a7d083c
Fix sessions_on_same_device cache
...
This hasn't been working for at least 10 years. We treated the contents
of the cache as a list of ids, but it was really a list of records. Now
we just store the ids, since we don't need the rest of the info.
2020-07-18 08:52:00 +00: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
8aa0c9ca5e
Fix typo
2019-09-28 09:15:21 +00:00
hjp
f01efab3a6
Add documentation
2019-09-08 09:06:01 +00:00
hjp
a6b9dff48e
Don't record fs_id:inode_number and time of backup for each instance by default
...
We don't actually use that information.
2019-09-08 09:05:40 +00:00
hjp
7f0c656caf
Add schema visualization
2019-01-18 21:11:05 +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
18c9936606
Use O_NOATIME
2018-03-05 19:33:19 +00:00
hjp
33d8e11a3e
Create log dir if necessary
2018-03-05 19:32:59 +00:00
hjp
a83aa49a89
Export to local disk instead of backup medium.
...
The export directory will then be backed up normally, which is a simple
copy operation, while exporting all sessions is expensive and should not
be repeated for every new backup medium.
2017-01-28 14:06:34 +00:00
hjp
838af50376
Install remove_session
2016-11-20 20:25:41 +00:00
hjp
f8ef39ae0f
Add column active to mark filesets which should be backed up.
...
This can still be overridden with the filesets option.
2016-06-08 19:48:33 +00:00
hjp
6514b6cdb6
Create export dir and commit after session.
2016-05-08 19:53:26 +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
810552e10f
hardcoded path to gzip.
2014-01-12 11:00:57 +00:00
hjp
6392f06826
At the end of a run, export all sessions which haven't been exported yet
...
to the current basedir.
2014-01-11 18:50:14 +00:00
hjp
5ae126f797
typo
2014-01-11 18:44:43 +00:00
hjp
48ae9b2939
remove_session
2014-01-11 18:44:23 +00:00
hjp
404d448634
Removed the customization from the build system.
...
I don't remember what it was for (installing into a custom directory?).
2014-01-11 18:44:02 +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
2bc5967e10
Automatically create a new partition if the current one doesn't have
...
enough free space.
2013-11-26 21:33:11 +00:00