Commit Graph

195 Commits

Author SHA1 Message Date
Martin
c139b09cb5 Fix ZFS incremental file backups 2021-08-09 23:14:43 +02:00
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
22f566eba0 Fix build issues 2021-06-08 22:45:45 +02:00
Martin
21b65777d0 Fix skipping small files in parallel hashing 2020-11-01 17:40:16 +01:00
Martin
746058f203 Make amount of download, hash, image compress and client parallel hash threads configurable 2020-09-29 17:01:38 +02:00
Martin
c9c08a22a0 Create new subvolume with name extented with .startup-del to prevent race in cleanup
(cherry picked from commit c66d5f4f121867d577f4f51462cd2d3193c3df5b)

# Conflicts:
#	urbackupserver/IncrFileBackup.cpp
2020-06-08 23:01:12 +02:00
Martin
04c81b27be Fix backup of symlinks to directories with special characters 2020-04-11 18:41:41 +02:00
Martin
482fec3d18 Increase timeout for getting initial file server connection
(cherry picked from commit ef22c7436b0ca164ad1e751447b4ef3f0b2e798f)
2020-02-27 22:25:06 +01:00
Martin
3c41ac6d9c Delete backup script .hashes file in snapshot before backups 2019-11-11 21:16:16 +01:00
Martin
5a64ac09a2 Check on startup if syncfs() works for backup storage folder and ignore errors if it doesn't
(cherry picked from commit 8aec5f0e9c)
2019-10-24 21:41:53 +02:00
Martin
e53a4de85d Delete tar file backup dirs before backup
(cherry picked from commit e1a2a160b4951ef14776700decc19c375077cd21)

# Conflicts:
#	urbackupserver/IncrFileBackup.cpp
2019-09-19 21:00:31 +02:00
Martin
00d6506a35 Check for directory deletion 2019-08-04 22:54:27 +02:00
Martin
1de8a8f6c4 Add phash load debug logging 2019-07-30 17:43:35 +02:00
Martin
34241021eb Make syncfs() error fail file backups
(cherry picked from commit cfcf49f11632bc4fd2da322f4265302f776a7ca3)
2019-07-05 15:43:02 +02:00
Martin
c2877702ea Do not try to get parallel hash for files with "no_hash" set
(cherry picked from commit b83f2ad013061e1c108124edd5b57f4f30f32702)
2019-05-14 03:11:18 +02:00
Martin
308d56a6da Do not retry getting parallel hash after error
(cherry picked from commit 51dca612ba29db37640840e35d9d306b07bc9f26)
2019-05-14 03:11:15 +02:00
Martin
0497c84702 Improve parallel hash logging
(cherry picked from commit 3a37116d3f3d8af3bcfcfbb379433d7ddae26689)
2019-05-14 03:11:09 +02:00
Martin
9f1971987f Functionality to interrupt parallel hash loading threads on clients 2019-05-13 17:55:22 +02:00
Martin
1add15c184 More detailed error message if client list file cannot be created 2018-11-13 19:22:39 +01:00
Martin Raiber
89cc9fd29d Remove unused variable
(cherry picked from commit 2366a8b3ec2556280f823479919f6fed0152c5a6)
2018-08-09 15:00:13 +02:00
Martin Raiber
74e899c617 Improve out of space error handling
(cherry picked from commit be91138dfae259f5a670ba4440647ef0b48580b9)

# Conflicts:
#	urbackupserver/FileBackup.cpp
#	urbackupserver/FileBackup.h
2018-06-01 11:50:34 +02:00
Martin
65f96a2431 Use reflinks instead of hardlinks for unchanged files only if hardlinks are not available 2018-04-18 18:30:03 +02:00
Martin
cb7a673984 Improve space accounting if reflinking is replaced by copying 2018-04-18 18:23:05 +02:00
Martin Raiber
b5c1239a05 Backup using reflinks if they are available 2018-04-01 23:20:36 +02:00
Martin
e4fb4bcb0b Use cross volume links if creating new subvolume 2018-02-17 20:08:14 +01:00
Martin
91c08a0731 Make new subvolumes during incremental backups read only 2018-02-17 19:32:19 +01:00
Martin
2ca995bebd Reference directory link parents for proper directory link removal and refcounting 2018-01-31 16:21:39 +01:00
Martin
169550b15a Fix fallback to full empty snapshot creation on ZFS 2017-11-08 20:23:51 +01:00
Martin Raiber
8b6d98189c File backup with ZFS snapshots 2017-08-22 23:33:51 +02:00
Martin
79fbbebb61 Start/stop single file shadow copy references 2017-08-11 17:36:05 +02:00
Martin Raiber
4e3d2504ac Show on status screen if no backup directories are configured 2017-08-01 00:16:26 +02:00
Martin
bedc0cd90e More error information when volume/snapshot creation fails
(cherry picked from commit b7c8840f765d3dc17bc5535c4708b6fddfa5b733)
2017-07-24 18:50:53 +02:00
Martin Raiber
08dcfefe97 Delete incr backup before running full 2017-06-19 16:38:28 +02:00
Martin
275fe05d9c Improve sync file creation error handling 2017-06-06 17:30:30 +02:00
Martin
636d0f768b Only set backup to done if sync file could be created
(cherry picked from commit 2e10975330429947ecad33d14b6df310c9438a52)
2017-06-06 16:20:35 +02:00
Martin
19093bf63d Parallel metadata application 2017-05-16 22:34:09 +02:00
Martin Raiber
504126720d Delete sync file before stating backup
(cherry picked from commit 1afb2b4e0600ace2cd1eb8f33007a10b2105e88f)
2017-05-05 13:20:41 +02:00
Martin
0e7b0f83ba Lazy user token creation 2017-03-21 00:09:24 +01:00
Martin
8d71071ea0 Merge remote-tracking branch 'gh/dev' into dev
# Conflicts:
#	urbackupclient/client.cpp
2017-03-03 17:33:47 +01:00
Martin
1ac2ec802d Set metadata hash from parallel hash load 2017-02-16 16:32:02 +01:00
Martin
85ffd76b73 Working on parallel file hashing 2017-02-16 01:46:51 +01:00
Martin
dec96a7aad Working on parallel file hashing 2017-02-15 19:23:30 +01:00
Nick Glencross
94c5f405da Fix typo: 'copyied' -> 'copied'. 2017-02-09 14:52:28 +04:00
Martin
3e936a72c3 Make failure to load backupcom.xml non-fatal 2017-01-19 01:20:17 +01:00
Martin
88ea7d0478 Do not start backup if it cannot be added to the database 2017-01-15 20:30:27 +01:00
Martin
264766cd12 Fix Windows component backup 2017-01-10 16:53:13 +01:00
Martin
e96b88f8dd Correctly set metadata source path if directory does not already exist 2017-01-02 15:12:37 +01:00
Martin Raiber
5b6cf6550d Fix directory to directory symlink change with btrfs 2016-12-28 22:42:28 +01:00
Martin
f77d3d5e76 Per backup temporary file folders 2016-12-17 18:40:03 +01:00