Commit Graph

145 Commits

Author SHA1 Message Date
Martin
4defce1072 Fix warnings 2016-12-10 20:57:52 +01:00
Martin
44047219df Compatibility with previous versions: Fix symlinked file to file changes during incremental backups with btrfs 2016-12-10 18:52:49 +01:00
Martin
5ccecb1ad2 Create metadata directory if directory symlink changes to a directory during incremental file backup 2016-12-10 12:55:01 +01:00
Martin
087acad813 Do not add small files when resuming file backup 2016-12-08 15:24:25 +01:00
Martin
8563abba10 Cope with entry not being present in file entry index if it should be 2016-12-02 13:55:22 +01:00
Martin
2e48dda144 Fixup: Delete symlink before creating it if it wasn't deleted previously
(cherry picked from commit 103036647a868be15c04801809f8fa48c05f212a)
2016-11-28 18:31:19 +01:00
Martin
a742451a2d Log about syncing to file system 2016-11-24 23:39:09 +01:00
Martin
0baf38bbfb Delete symlink before creating it if it wasn't deleted previously
(cherry picked from commit ca9c12be8994293aa78cae70e5bc7de09240be4e)
2016-11-24 01:56:53 +01:00
Martin
e361ea8b0e Fixup: Do not delete files in snapshot to later reflink them
(cherry picked from commit 291abbec910521bafcdb223bb07409774d3cebdb)
2016-11-24 01:51:43 +01:00
Martin Raiber
bff6c765e0 Fix handling of missing metadata file
(cherry picked from commit 2865959ddf1e92a5c2d89e91bc7069a7eafd29e2)
2016-11-24 01:50:43 +01:00
Martin Raiber
8fdb2f0568 Do not delete files in snapshot to later reflink them
(cherry picked from commit 00c1f15572a536f4f9fb5b17d675da767060fb5c)
2016-11-24 01:45:13 +01:00
Martin
902abe3972 Better line number type 2016-10-23 11:13:15 +02:00
Martin
7634b4f6d2 Improve symlink file deletion 2016-10-05 15:41:47 +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
11c8fa8aa6 Fix symbolic link to file deletion on Windows 2016-09-29 11:35:06 +02:00
Martin
e9deebab36 Log about backup being scheduled/manually started 2016-09-26 18:36:10 +02:00
Martin
aac08d5283 Make btrfs subvolumes read only after backup 2016-08-19 19:48:10 +02:00
Martin
932488a4b0 Add sparse file entries even if hashes are currently not in the database 2016-08-18 14:07:21 +02:00
Martin
135100ec9f Save partial backup after disk error 2016-08-13 01:37:17 +02:00
Martin
b1471a0c6d Fail backup if referencing/deleting shadow copy fails 2016-08-08 13:34:27 +02:00
Martin Raiber
2b8bffba81 Fix directory symlink to directory change 2016-08-01 15:10:02 +02:00
Martin
b47680a901 WIP: Windows component backup 2016-07-27 02:01:08 +02:00
Martin
70f59062cc Escape metadata filenames while deleting in hash snapshot 2016-07-22 20:46:23 +02:00
Martin
346b9f3697 Fix directory to directory symlink change 2016-07-22 18:30:12 +02:00
Martin
210f789939 Fix directory to directory symlink change 2016-07-22 17:32:24 +02:00
Martin
7fe2651423 Fix directory to directory symlink change 2016-07-22 16:42:06 +02:00
Martin
71bebfd7fc Preserve last error across logging 2016-07-08 20:47:23 +02:00
Martin
4998fbcaa2 Sync filesystem before setting file backup to done, not to complete 2016-06-14 15:14:15 +02:00
Martin
44f9ae62df Fix some typos and spellings 2016-06-13 16:19:05 +02:00
Martin
00938f77f5 Option to ignore read and hash errors 2016-06-10 19:18:58 +02:00
Martin
6ead30936d Improved read error handling during file backup 2016-06-09 23:33:32 +02:00
Martin
25e94fb975 Log block differences download into backup log, not client log 2016-06-08 17:25:18 +02:00
Martin
c70e345d8d Fix: Write symbolic link orig path 2016-06-07 15:26:07 +02:00
Martin
21a40dbdf0 Do not try to add sparse file entries for special and symlink files 2016-06-07 12:49:23 +02:00
Martin
5f4f8672cb Fix Linux root dir metadata 2016-06-03 02:08:46 +02:00
Martin
cce936ade7 Gracefully handle case where symlinking data directory succeeds and symlinking metadata directory fails 2016-05-31 00:09:21 +02:00
Martin
958bc7f2fd More consistent backup running accounting 2016-05-30 13:41:33 +02:00
Martin
ec5b774a3a Modulo operator result in C can be negative 2016-05-28 23:31:49 +02:00
Martin
0efb779e27 Adler32 does not work well with small strings. Use md5 instead 2016-05-28 22:37:59 +02:00
Martin
87c93b9cc0 copy_file_entries_sparse_modulo should be at least one 2016-05-25 15:13:59 +02:00
Martin Raiber
5abdf19266 Prevent clientlist deletion during backup 2016-05-18 13:15:41 +02:00
Martin Raiber
cf9b8b33f1 Only link files with at least 2K size 2016-05-16 18:47:19 +02:00
Martin
35e133212e New file backup status "completed with issues" and OS and client version persistence 2016-05-11 14:25:50 +02:00
Martin
a8c53ca89f Improved file meta-data shutdown procedure 2016-05-08 22:16:12 +02:00
Martin
19d79e8e8f Improved handling of case where snapshot removal is delayed because of still ongoing meta-data transfers 2016-05-08 16:28:38 +02:00
Martin
a97a2d41c5 Propagate incremental file backup result correctly 2016-05-03 18:52:04 +02:00
Martin
e3135f18df Option to set orig_path for scripts/tar files 2016-05-02 02:52:51 +02:00
Martin
f537a62ced Set urbackup_backup_scripts permissions to allow all 2016-05-01 20:30:19 +02:00
Martin
a6f792b049 Verify number of files loaded via meta-data 2016-05-01 17:17:30 +02:00
Martin
d132146ce0 Print warnings with no_error
(cherry picked from commit 9b163bf8f1a29aa65ffc821dcc096ae41a2c35d4)
2016-04-20 13:16:52 +02:00