Commit Graph

165 Commits

Author SHA1 Message Date
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
Martin
256a951d17 Do not run db backup if backup storage folder equals working directory 2016-07-21 18:06:30 +02:00
Martin
e5a6f2cf8c Live storage migration 2016-07-20 21:20:30 +02:00
Martin
b547ed73ad Show when cleanup is in progress 2016-07-08 14:33:16 +02:00
Martin
5f9b473acb Backup all databases using the stop world writes and copy method 2016-07-05 00:34:58 +02:00
Martin
24f6bae6bf Fix quota enforcement 2016-07-02 15:48:32 +02:00
Martin
f473546d16 Copy with negative max/min incr/full file/image backup number 2016-06-30 12:12:06 +02:00
Martin
44f9ae62df Fix some typos and spellings 2016-06-13 16:19:05 +02:00
Martin
49d3156f34 Do not do passive WAL checkpoints during database backup 2016-05-19 01:31:35 +02:00
Martin Raiber
5abdf19266 Prevent clientlist deletion during backup 2016-05-18 13:15:41 +02:00
Martin Raiber
62b8cb0542 Nightly cleanup of SYSVOL/ESP images associated with incomplete images 2016-05-16 23:20:03 +02:00