QBack
A simple backup utility.
QBack lets you copy files from several paths, to several targets. You can also specify only files, or only directories to copy. Works on Windows and Linux (Not tested on MAC OS).
1. HOW TO INSTALL
In Windows:
- Download the file: QBack_1.9.0_Windows.zip, uncompress it, and run QBack.exe.
- If you have downloaded a previous version before, just download QBack.exe, and replace it.
In Linux
- Download the files: QBack-x86_64.AppImage and style.qss, mark the first as executable with:
chmod +x QBack-x86_64.AppImage
Then run it with double click, or from console with:
./QBack-x86_64.AppImage
- If you have downloaded a previous version, or you have QT5 installed in your system, you could download the QBack binary file, and run it instead.
2. HOW TO USE
A. Copying one folder recursively:
- Click on the "Origin" button to choose the origin folder.
- Click on the "Target" button to choose the destination folder where the files will be copied.
- If you want to inspect the target folder before copy, click on "Open target".
- Click on the "Backup button" to start the copy.
B. Copying several folders recursively:
- Open your file explorer and copy the folder paths to the sources text area, end each folder path with comma ","; or drag and drop them. For example:
In Linux:
/home/MyUser/Downloads,
/home/MyUser/FilesToCopy,
In Windows:
D:\DocumentsToCopy\Folder,
C:\Documents and settings\MyAppData\Game,
You can also drag and drop the folders into the sources text area. QBack will adapt the path adding the comma sign at the end.
- Click on the "target" button to choose the destination folder.
- If you want to inspect the target folder before copy, click on "Open target".
- Click on the "Backup button" to start the copy.
C. Copying several files:
- Open your file explorer and copy the file paths to the sources text area, end each file path with comma ","; for example:
In Linux:
/home/MyUser/Downloads/Script.sh,
/home/MyUser/Documents/TextDocument.txt,
In Windows:
D:\DocumentsToCopy\Folder\WordDocument.docx,
C:\Documents and settings\MyAppData\Game\Textures.mod,
You can also drag and drop the files into the sources text area. QBack will adapt the path adding the comma sign at the end.
- Click on the "Target" button to choose the destination folder.
- If you want to inspect the target folder before copy, click on "Open target".
- Click on the "Backup button" to start the copy.
D. Copying several files and folders, to different targets:
- Open your file explorer and copy the file paths to the sources text area and append a comma at the end of each path, or drag and drop the files.
- If you want to copy a file to a certain target, use the '>' symbol, for example:
/home/MyUser/Downloads/Script.sh>/user/MyUser/media/USB_Storage,
/home/MyUser/Documents/TextDocument.txt>/home/MyUser/BackupFolder,
/home/MyUser/Downloads/QBack.sh,
/home/MyUser/Documents/Text.txt,
This will cause QBack to copy the file Script.sh to /user/MyUser/media/USB_Storage, the file TextDocument.txt will be copied to /home/MyUser/BackupFolder, QBack.sh and Text.txt, will be copied to the default folder typed in the target line edit.
E. Commenting paths:
- If you don't want to copy a certain file in the list, just add the '#' sign to the start of the path to avoid its copy, for example:
#/home/MyUser/Downloads/Script.sh>/user/MyUser/media/USB_Storage,
/home/MyUser/Documents/TextDocument.txt>/home/MyUser/BackupFolder,
#/home/MyUser/Downloads/QBack.sh,
/home/MyUser/Documents/Text.txt,
This will avoid the copy of Script.sh, and QBack.sh.
F. Auto Rename:
This setting, will allow the files to be renamed when there are more than one file with the same name in the sources text area, regardless their source paths and targets. It is DISABLED by default. For example:
/home/MyUser/Downloads/Script.sh>/user/MyUser/media/USB_Storage,
/home/MyUser/Documents/TextDocument.txt>/home/MyUser/BackupFolder,
/home/MyUser/Programs/Script.sh,
/home/MyUser/Documents/Text.txt,
This will produce a file named Script_home_MyUser_Downloads.sh and a file named Script_home_MyUser_Programs.sh.
G. Target path insertion
Pressing F3, will paste the target path at the current cursor location, adding the > and / characters. This is useful when copying files to multiple targets.
3. HOW TO BUILD FROM SOURCE
QT5 must be installed. (qt5-base or download the QTCreator IDE from www.qt.io/download)
qmake QBack.pro
make all -j4
make clean
Alternatively, you can use QTCreator 5.8+ to load the project, and compile it for your distribution and architecture.
4. IN THIS VERSION
- Improved counting functionality.
- Minor bugs fixed.
- Target path insertion now is done with F3. This will add the target path, including the '>' and '/' characters.
- Improved log outputs.
- Improved folder copying.
- Reduced code, thus, reduced binary size.
- Added an AppImage for Linux.
- Added the binary for download, if you have already installed QT5 in your system.