Martin
|
431ce079b2
|
Add file backup deletion protection for local backups
|
2021-07-09 19:32:41 +02:00 |
|
Martin
|
bbb9dc66ff
|
Replace std::auto_ptr with std::unique_ptr
|
2021-06-20 17:56:33 +02:00 |
|
Martin Raiber
|
8df03ccf50
|
Add client local backup management to server
|
2021-06-08 19:04:47 +02:00 |
|
Martin
|
896792795f
|
Delete .bitmap file if present
|
2020-06-20 15:35:47 +02:00 |
|
Martin
|
b4d6e21773
|
Delete raw images if backup storage does not support snapshots
|
2020-05-13 19:30:27 +02:00 |
|
Martin Raiber
|
ca3e1846ed
|
Make log message less ambiguous
|
2020-04-11 18:41:34 +02:00 |
|
Martin
|
c58dea1191
|
Fixup: Fix image cleanup not looping and only removing one backup per client per cleanup
|
2019-12-12 15:44:39 +01:00 |
|
Martin
|
f6d053604e
|
Fix image cleanup not looping and only removing one backup per client per cleanup
|
2019-12-12 14:46:06 +01:00 |
|
Martin Raiber
|
8be16bc8b8
|
Cleanup old client access tokens
(cherry picked from commit fd6d80bc44ffb90f58b02d04324954f32ae5a383)
# Conflicts:
# urbackupserver/server_cleanup.cpp
|
2019-09-12 00:07:09 +02:00 |
|
Martin
|
3a4a7412da
|
Cleanup one image backup of each client at a time when freeing space (like with file backups)
|
2019-04-30 19:31:49 +02:00 |
|
Martin
|
da6e0bc04c
|
Make backward compatible with older sqlite versions
|
2018-11-01 12:10:12 +01:00 |
|
Martin
|
2bedf43ddb
|
Do not delete single full file backup if incremental file backups are enabled
|
2018-10-19 21:24:08 +02:00 |
|
Martin
|
f7ae5a4100
|
Do not delete image if one of its references cannot be deleted
|
2018-10-14 16:00:29 +02:00 |
|
Martin
|
26d68ccbfb
|
Revert "Do not delete image if one of its references cannot be deleted"
This reverts commit 8e0749f234.
|
2018-10-14 15:58:51 +02:00 |
|
Martin
|
8e0749f234
|
Do not delete image if one of its references cannot be deleted
|
2018-10-14 15:56:27 +02:00 |
|
Martin Raiber
|
097dd28373
|
Prevent cleanup from deleting incremental image chains that cause number of incremental images to fall below min_incr_image
(cherry picked from commit 4e82dbc8cb7bf5a5633cac7fea83fe90a625a548)
# Conflicts:
# urbackupserver/server_cleanup.cpp
# urbackupserver/server_cleanup.h
|
2018-09-14 20:18:44 +02:00 |
|
Martin Raiber
|
e4d5f1ab1b
|
Prevent cleanup from deleting incremental image chains that cause number of incremental images to fall below min_incr_image
(cherry picked from commit 4e82dbc8cb7bf5a5633cac7fea83fe90a625a548)
# Conflicts:
# urbackupserver/server_cleanup.cpp
# urbackupserver/server_cleanup.h
|
2018-09-14 20:07:57 +02:00 |
|
Martin Raiber
|
01b4f1cf40
|
Fix client deletion
|
2018-06-03 14:09:02 +02:00 |
|
Martin
|
29b0cf7700
|
Update client uid
(cherry picked from commit e431dc3ab7aabf2fee234b59cbb8e17608fb3c24)
# Conflicts:
# urbackupserver/ClientMain.cpp
# urbackupserver/server_cleanup.cpp
|
2018-04-08 23:10:18 +02:00 |
|
Martin
|
2fd0234a6a
|
Fix image backup complete race
(cherry picked from commit bf9b508dec0a9c24388a69024a8dad4ea54d71aa)
|
2018-02-17 19:32:52 +01:00 |
|
Martin
|
9f5b42a2bb
|
Add missing directory link references during remove unknown check
|
2018-01-31 17:26:58 +01:00 |
|
Martin
|
497fd4c8b9
|
Fix pool directory cleanup
|
2018-01-30 20:18:34 +01:00 |
|
Martin
|
c8ee8ebd1b
|
Remove erroneous extra client delete
|
2018-01-26 12:56:57 +01:00 |
|
Martin
|
29eccebac5
|
Fix inode_db cleanup
|
2018-01-11 19:06:28 +01:00 |
|
Martin
|
89722abc4d
|
Remove inode_db after storage migration
|
2017-11-27 14:16:35 +01:00 |
|
Martin
|
df7a53be07
|
Do not run cleanup if backupfolder is not available
(cherry picked from commit b008d04e6a80b5cd9c5ef3ed7832415b33b5d514)
|
2017-11-10 14:04:37 +01:00 |
|
Martin
|
5a8b4b7017
|
Delete symlink on file/image backup delete on ZFS
|
2017-11-10 02:13:18 +01:00 |
|
Martin Raiber
|
8b6d98189c
|
File backup with ZFS snapshots
|
2017-08-22 23:33:51 +02:00 |
|
Martin
|
89dd27e516
|
Delete file backups during operation after startup recovery
(cherry picked from commit 54854345b69d7e38998010725cec4d67909039e7)
# Conflicts:
# urbackupserver/server_cleanup.h
|
2017-07-10 17:02:02 +02:00 |
|
Nick Glencross
|
3f4e8efb9b
|
Tweak 'successfull' -> 'successful'
|
2017-02-28 09:02:15 +04:00 |
|
Martin
|
3674b1cc3d
|
Backup server_ident_ecdsa409k1.priv/server_ident_ecdsa409k1.pub in nightly backup
|
2017-01-29 19:52:43 +01:00 |
|
Martin
|
66cb5ec042
|
Use correct name for quick_check result
|
2017-01-10 17:27:53 +01:00 |
|
Martin Raiber
|
18a3a07d64
|
Fix deleteing pending images during cleanup
|
2016-12-29 17:04:14 +01:00 |
|
Martin
|
6715bc638b
|
Manual deletion of file and image backup from web interface
|
2016-12-16 20:32:59 +01:00 |
|
Martin
|
ad4b9e3562
|
Refcount lock to allow multiple locks
(cherry picked from commit c22adb0988f3f50fea5a6c0d8272f7fcfec7244c)
|
2016-12-16 13:55:56 +01:00 |
|
Martin
|
4a7563b135
|
Hostname database and settings to configure it to not start backups if clients have certain hostnames
|
2016-12-10 20:57:39 +01:00 |
|
Martin
|
4665005469
|
Flush file index during deletion and more file index integrity checking
|
2016-11-29 15:24:25 +01:00 |
|
Martin
|
d850223989
|
Delete empty subvolume in remove-unknown
|
2016-11-28 18:11:46 +01:00 |
|
Martin
|
9a82af41e4
|
Delete empty subvolume in remove-unknown
|
2016-11-28 18:07:41 +01:00 |
|
Martin
|
66e884f56c
|
Fix database backup
|
2016-11-19 15:44:55 +01:00 |
|
Martin Raiber
|
c7943db2c2
|
Start client download earlier
|
2016-11-16 14:52:44 +01:00 |
|
Martin Raiber
|
dff3ab7ae3
|
Fix ZFS image snapshot cleanup
|
2016-11-12 11:18:38 +01:00 |
|
Martin
|
8126cacc23
|
Always use WAL journal mode except for VACUUM
|
2016-10-24 17:35:16 +02:00 |
|
Martin
|
5c8934f3b0
|
Put files into backup folders after backup storage synchronization and recover from missing sync files by deleting the backups on startup
|
2016-10-01 13:39:07 +02:00 |
|
Martin
|
4312df4fe2
|
Image backups with zfs snapshots
|
2016-09-27 19:21:56 +02:00 |
|
Martin
|
a309aa49bc
|
Do not close sqlite3 database file after opening it
|
2016-09-16 00:29:22 +02:00 |
|
Martin Raiber
|
f7d45e0075
|
Improved error logging
|
2016-09-04 09:52:53 +02:00 |
|
Martin
|
9bb738bed2
|
Improve error message if copying database fails during database backup
|
2016-08-09 21:07:40 +02:00 |
|
Martin
|
ebfdd31792
|
Continue after copy errors during storage migration
|
2016-07-29 20:15:44 +02:00 |
|
Martin
|
48f464536b
|
Log cleanup to cleanup processes
|
2016-07-21 22:40:35 +02:00 |
|