Commit Graph

132 Commits

Author SHA1 Message Date
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
Martin
bd5d3ce908 Fix getting free space and image deletion on cleanup 2016-04-12 19:51:23 +02:00
Martin
82ba47cfa3 Do not do quota enforcement if quota is "-"
(cherry picked from commit 710b1a09dda349422470b3c936b2f1e6c8b6ce9b)
2016-03-17 22:39:00 +01:00
Martin Raiber
d348e9bda0 Further optimized file backup deletion 2016-02-27 23:41:22 +01:00
Martin
be8f8614f6 Show activity for statistics recalculation 2016-02-22 23:12:54 +01:00
Martin
1de73dc58d Show activity for statistics recalculation 2016-02-22 23:11:31 +01:00
Martin
ca9ecd708d Show database backup progress 2016-02-21 13:51:25 +01:00
Martin
c7fa8573ac Work around undefined SQLite behavior 2016-02-20 17:56:10 +01:00
Martin
de4ed43d2e Fixed bugs and improved file index logging 2016-02-20 15:18:15 +01:00
Martin Raiber
cf0c2c6df4 Fix a few query leaks
(cherry picked from commit 91356f346aa049b6a8468d492a4badcfb040bd62)
2016-01-30 20:57:31 +01:00
Martin Raiber
26b9f2fed8 Flush file index after cleanup/remove_unknown 2016-01-29 23:41:12 +01:00
Martin Raiber
a8711feda9 Create temporary table for removing danling file entries 2016-01-28 17:12:07 +01:00
Martin Raiber
317bdbf006 Create temporary table for removing danling file entries 2016-01-28 17:10:36 +01:00
Martin Raiber
d805f1c48d Create temporary table for removing danling file entries 2016-01-28 17:05:16 +01:00
Martin Raiber
5662f60afa Fixed SYSVOL/EFI cleanup 2016-01-28 16:18:39 +01:00
Martin Raiber
f4438cdeab Fixed wrong database usage 2016-01-28 16:07:06 +01:00
Martin Raiber
1be300aca5 Give names to more threads 2016-01-28 15:34:06 +01:00
Martin
b6521dd091 Improved Database locking and backup 2016-01-14 17:38:42 +01:00
Martin
fd00d4bcf6 Delete queries before deleting database 2016-01-14 00:49:43 +01:00
Martin
1a3bb3865d Separated files, links and link journal into three new database files 2016-01-13 22:22:16 +01:00
Martin
7b1495a8f7 Adjusted usage graph scale 2016-01-07 16:35:36 +01:00
Martin
9ee64e650a Updated copyright 2016-01-02 16:38:00 +01:00
Martin
12e76379eb Put image backups into subvolumes/folders 2016-01-02 16:27:49 +01:00
Martin
cc625e4e75 Resize bitmap if it is too small and use a different file for the bitmap from client 2015-12-22 21:36:05 +01:00
Martin
207ea6707c Cleanup for new client lists 2015-12-20 21:06:35 +01:00
Martin
9bab514e22 Removed UTF16 string (std::wstring) in most places. UTF8 everywhere! 2015-12-13 16:17:36 +01:00
Martin
6447563c2e Merge remote-tracking branch 'urpc/next' into dev
Conflicts:
	.gitignore
	Interface/Database.h
	configure.ac_client
	configure.ac_server
	fileservplugin/CClientThread.cpp
	fileservplugin/CClientThread.h
	fileservplugin/FileServFactory.cpp
	fileservplugin/FileServFactory.h
	fileservplugin/IFileServFactory.h
	fsimageplugin/FSImageFactory.cpp
	fsimageplugin/FSImageFactory.h
	fsimageplugin/FileWrapper.cpp
	fsimageplugin/FileWrapper.h
	fsimageplugin/IFSImageFactory.h
	fsimageplugin/Makefile.am_client
	fsimageplugin/Makefile.am_server
	fsimageplugin/dllmain.cpp
	fsimageplugin/filesystem.cpp
	fsimageplugin/filesystem.h
	fsimageplugin/fs/ntfs.cpp
	fsimageplugin/fs/ntfs.h
	fsimageplugin/fs/ntfs_win.cpp
	fsimageplugin/fs/ntfs_win.h
	fsimageplugin/fs/unknown.cpp
	fsimageplugin/fs/unknown.h
	fsimageplugin/fsimageplugin.vcxproj.filters
	start_urbackup_client
	start_urbackup_server
	urbackupclient/ChangeJournalWatcher.cpp
	urbackupclient/ClientService.cpp
	urbackupclient/ClientServiceCMD.cpp
	urbackupclient/ImageThread.cpp
	urbackupclient/client.cpp
	urbackupclient/client.h
	urbackupclient/client_restore.cpp
	urbackupclient/clientdao.cpp
	urbackupclient/dllmain.cpp
	urbackupclient/win_sysvol.cpp
	urbackupclient/win_sysvol.h
	urbackupcommon/fileclient/FileClient.cpp
	urbackupcommon/fileclient/FileClientChunked.cpp
	urbackupcommon/os_functions.h
	urbackupcommon/os_functions_lin.cpp
	urbackupcommon/os_functions_win.cpp
	urbackupcommon/settingslist.cpp
	urbackupserver/ImageBackup.cpp
	urbackupserver/SQLiteFileCache.cpp
	urbackupserver/ServerDownloadThread.cpp
	urbackupserver/dao/ServerBackupDao.cpp
	urbackupserver/dao/ServerBackupDao.h
	urbackupserver/dllmain.cpp
	urbackupserver/doc/admin_guide.tex
	urbackupserver/server_channel.cpp
	urbackupserver/server_channel.h
	urbackupserver/server_cleanup.cpp
	urbackupserver/server_dir_links.cpp
	urbackupserver/server_get.cpp
	urbackupserver/server_hash.cpp
	urbackupserver/server_hash.h
	urbackupserver/server_settings.cpp
	urbackupserver/server_settings.h
	urbackupserver/server_update_stats.cpp
	urbackupserver/server_writer.cpp
	urbackupserver/serverinterface/backups.cpp
	urbackupserver/serverinterface/settings.cpp
	urbackupserver/serverinterface/usage.cpp
	urbackupserver/www/js/urbackup.js
	urbackupserver/www/templates.js
	urbackupserver/www/templates/settings_inv_row.htm
	urbackupserver/www/translations/urbackup.webinterface/ar_SA.po
2015-12-09 14:49:13 +01:00
Martin
5b7ca398c0 Remove SYSVOL image after removing referencing images, because that can fail 2015-12-04 14:46:55 +01:00
Martin
0bf2a6361f Separate functions for read and write transactions 2015-10-26 18:51:30 +01:00
Martin
5fe4723c97 Separate functions for read and write transactions 2015-10-26 18:42:39 +01:00
Martin Raiber
30f222bd46 Fixed merge issue 2015-10-24 17:58:00 +02:00
Martin
2baf4a2dc2 Remove orphaned SYSVOL image backups during remove unknown cleanup
(cherry picked from commit 3898b32c14)

Conflicts:
	urbackupserver/server_cleanup.cpp
2015-10-24 17:52:18 +02:00
Martin
4667fbb5dd Fixed bug in image cleanup: Properly delete SYSVOL images and don't delete incremental images if not allowed to
(cherry picked from commit 6ecaa5bf9f)

Conflicts:
	urbackupserver/server_cleanup.cpp
2015-10-24 17:50:18 +02:00
Martin
3898b32c14 Remove orphaned SYSVOL image backups during remove unknown cleanup 2015-10-19 20:01:13 +02:00