diff --git a/.gitignore b/.gitignore --- a/.gitignore +++ b/.gitignore @@ -33,7 +33,7 @@ # Nix result* -services/backup/blob_client/target/ +services/backup/old/blob_client/target/ .direnv # Electron diff --git a/services/backup/Dockerfile b/services/backup/Dockerfile --- a/services/backup/Dockerfile +++ b/services/backup/Dockerfile @@ -22,7 +22,7 @@ ADD shared/protos /transferred/shared/protos/ ADD shared/cmake /transferred/shared/cmake/ -COPY services/backup/ /transferred/services/backup/ +COPY services/backup/old/ /transferred/services/backup/ COPY services/lib/src/ /transferred/services/lib/src/ RUN scripts/build_service.sh diff --git a/services/backup/CMakeLists.txt b/services/backup/old/CMakeLists.txt rename from services/backup/CMakeLists.txt rename to services/backup/old/CMakeLists.txt diff --git a/services/backup/blob_client/Cargo.lock b/services/backup/old/blob_client/Cargo.lock rename from services/backup/blob_client/Cargo.lock rename to services/backup/old/blob_client/Cargo.lock diff --git a/services/backup/blob_client/Cargo.toml b/services/backup/old/blob_client/Cargo.toml rename from services/backup/blob_client/Cargo.toml rename to services/backup/old/blob_client/Cargo.toml diff --git a/services/backup/blob_client/build.rs b/services/backup/old/blob_client/build.rs rename from services/backup/blob_client/build.rs rename to services/backup/old/blob_client/build.rs diff --git a/services/backup/blob_client/src/constants.rs b/services/backup/old/blob_client/src/constants.rs rename from services/backup/blob_client/src/constants.rs rename to services/backup/old/blob_client/src/constants.rs diff --git a/services/backup/blob_client/src/get_client.rs b/services/backup/old/blob_client/src/get_client.rs rename from services/backup/blob_client/src/get_client.rs rename to services/backup/old/blob_client/src/get_client.rs diff --git a/services/backup/blob_client/src/lib.rs b/services/backup/old/blob_client/src/lib.rs rename from services/backup/blob_client/src/lib.rs rename to services/backup/old/blob_client/src/lib.rs diff --git a/services/backup/blob_client/src/put_client.rs b/services/backup/old/blob_client/src/put_client.rs rename from services/backup/blob_client/src/put_client.rs rename to services/backup/old/blob_client/src/put_client.rs diff --git a/services/backup/src/BackupServiceImpl.h b/services/backup/old/src/BackupServiceImpl.h rename from services/backup/src/BackupServiceImpl.h rename to services/backup/old/src/BackupServiceImpl.h diff --git a/services/backup/src/BackupServiceImpl.cpp b/services/backup/old/src/BackupServiceImpl.cpp rename from services/backup/src/BackupServiceImpl.cpp rename to services/backup/old/src/BackupServiceImpl.cpp diff --git a/services/backup/src/Constants.h b/services/backup/old/src/Constants.h rename from services/backup/src/Constants.h rename to services/backup/old/src/Constants.h diff --git a/services/backup/src/DatabaseEntities/BackupItem.h b/services/backup/old/src/DatabaseEntities/BackupItem.h rename from services/backup/src/DatabaseEntities/BackupItem.h rename to services/backup/old/src/DatabaseEntities/BackupItem.h diff --git a/services/backup/src/DatabaseEntities/BackupItem.cpp b/services/backup/old/src/DatabaseEntities/BackupItem.cpp rename from services/backup/src/DatabaseEntities/BackupItem.cpp rename to services/backup/old/src/DatabaseEntities/BackupItem.cpp diff --git a/services/backup/src/DatabaseEntities/LogItem.h b/services/backup/old/src/DatabaseEntities/LogItem.h rename from services/backup/src/DatabaseEntities/LogItem.h rename to services/backup/old/src/DatabaseEntities/LogItem.h diff --git a/services/backup/src/DatabaseEntities/LogItem.cpp b/services/backup/old/src/DatabaseEntities/LogItem.cpp rename from services/backup/src/DatabaseEntities/LogItem.cpp rename to services/backup/old/src/DatabaseEntities/LogItem.cpp diff --git a/services/backup/src/DatabaseManager.h b/services/backup/old/src/DatabaseManager.h rename from services/backup/src/DatabaseManager.h rename to services/backup/old/src/DatabaseManager.h diff --git a/services/backup/src/DatabaseManager.cpp b/services/backup/old/src/DatabaseManager.cpp rename from services/backup/src/DatabaseManager.cpp rename to services/backup/old/src/DatabaseManager.cpp diff --git a/services/backup/src/Reactors/server/AddAttachmentsUtility.h b/services/backup/old/src/Reactors/server/AddAttachmentsUtility.h rename from services/backup/src/Reactors/server/AddAttachmentsUtility.h rename to services/backup/old/src/Reactors/server/AddAttachmentsUtility.h diff --git a/services/backup/src/Reactors/server/AddAttachmentsUtility.cpp b/services/backup/old/src/Reactors/server/AddAttachmentsUtility.cpp rename from services/backup/src/Reactors/server/AddAttachmentsUtility.cpp rename to services/backup/old/src/Reactors/server/AddAttachmentsUtility.cpp diff --git a/services/backup/src/Reactors/server/CreateNewBackupReactor.h b/services/backup/old/src/Reactors/server/CreateNewBackupReactor.h rename from services/backup/src/Reactors/server/CreateNewBackupReactor.h rename to services/backup/old/src/Reactors/server/CreateNewBackupReactor.h diff --git a/services/backup/src/Reactors/server/CreateNewBackupReactor.cpp b/services/backup/old/src/Reactors/server/CreateNewBackupReactor.cpp rename from services/backup/src/Reactors/server/CreateNewBackupReactor.cpp rename to services/backup/old/src/Reactors/server/CreateNewBackupReactor.cpp diff --git a/services/backup/src/Reactors/server/PullBackupReactor.h b/services/backup/old/src/Reactors/server/PullBackupReactor.h rename from services/backup/src/Reactors/server/PullBackupReactor.h rename to services/backup/old/src/Reactors/server/PullBackupReactor.h diff --git a/services/backup/src/Reactors/server/PullBackupReactor.cpp b/services/backup/old/src/Reactors/server/PullBackupReactor.cpp rename from services/backup/src/Reactors/server/PullBackupReactor.cpp rename to services/backup/old/src/Reactors/server/PullBackupReactor.cpp diff --git a/services/backup/src/Reactors/server/RecoverBackupKeyReactor.h b/services/backup/old/src/Reactors/server/RecoverBackupKeyReactor.h rename from services/backup/src/Reactors/server/RecoverBackupKeyReactor.h rename to services/backup/old/src/Reactors/server/RecoverBackupKeyReactor.h diff --git a/services/backup/src/Reactors/server/SendLogReactor.h b/services/backup/old/src/Reactors/server/SendLogReactor.h rename from services/backup/src/Reactors/server/SendLogReactor.h rename to services/backup/old/src/Reactors/server/SendLogReactor.h diff --git a/services/backup/src/Reactors/server/SendLogReactor.cpp b/services/backup/old/src/Reactors/server/SendLogReactor.cpp rename from services/backup/src/Reactors/server/SendLogReactor.cpp rename to services/backup/old/src/Reactors/server/SendLogReactor.cpp diff --git a/services/backup/src/Tools.h b/services/backup/old/src/Tools.h rename from services/backup/src/Tools.h rename to services/backup/old/src/Tools.h diff --git a/services/backup/src/Tools.cpp b/services/backup/old/src/Tools.cpp rename from services/backup/src/Tools.cpp rename to services/backup/old/src/Tools.cpp diff --git a/services/backup/src/server.cpp b/services/backup/old/src/server.cpp rename from services/backup/src/server.cpp rename to services/backup/old/src/server.cpp diff --git a/services/backup/test/BackupTest.cpp b/services/backup/old/test/BackupTest.cpp rename from services/backup/test/BackupTest.cpp rename to services/backup/old/test/BackupTest.cpp diff --git a/services/backup/test/DatabaseManagerTest.cpp b/services/backup/old/test/DatabaseManagerTest.cpp rename from services/backup/test/DatabaseManagerTest.cpp rename to services/backup/old/test/DatabaseManagerTest.cpp