Grsync - Rosenberger Communications https://ro-kom.de/grsync/

Rosenberger Communications

grsync

Grsync is a program with a graphical interface and is suitable for synchronizing data and for data backup. Whether inside the home or remote computers and servers, this program supports this task perfectly. Grsync, the graphical interface is based on the terminal program "". These two professional programs have the open source license GPL and are available for free. Grsync can create copy the backup by simple, that is, conversely, if need be, the files can be restored without "grsync". The rsync protocol is much faster than normal transfer protocols and faster than any normal copying.

1 von 18 12.03.19, 07:25 Grsync - Rosenberger Communications https://ro-kom.de/grsync/

contents

1. Welcome to Grsync 2. Welcome to rsync 3. installation 4. help and support 5. Orsoni Piero 6. Description of the graphical interface 7. backup 8. filter 9. Difference between backup and synchronization 10. synchronization 11. Windows Special 12. source

1. Welcome to Grsync

URL http://www.opbyte.it/grsync/ Download URL http://www.opbyte.it/grsync/download.html download size 317 kilobytes for Unix derivatives, 6 MB for Windows programming Author Piero Orsoni license GPL dependencies GTK libraries platforms Windows, MacOS, Linux, other Unix derivatives Manual man rsync version 1.2.6 on 08 March 2019

2. Welcome to rsync

URL https://rsync.samba.org/ Download URL https://rsync.samba.org/download.html programming Author Andrew Tridgell and Paul Mackerras maintainer Wayne Davison license GPL version rsync 3.1.3 protocol version 31 on 08 March 2019

2 von 18 12.03.19, 07:25 Grsync - Rosenberger Communications https://ro-kom.de/grsync/

3. installation

Here, the most widely used installation commands for each package administrations. Arch Linux sudo pacman -S grsync Debian + derivativ sudo apt install grsync es Red Hat + SUSE sudo yum install grsync Windows Here no package management applies as always, available, so downloa d it from the original site and start the setup. https://sourceforge.net/projects/grsync-win/files/grsync-win/Windows %20Installer/ macOS For this I did not find address where you can buy "Gr sync". Apple's "Time Machine" also comes with a safety concept. It w orks similar to the known in Linux "Back Intime", which is also based on "rsync".

3.1. start program

The installed program can be started from the Start menu, or application menus or Dash. Enter in the terminal "grsync" the program will start as well.

4. Help and support

In general shall "Grsync" be described in any Linux reference book or books that carry only the book title "Linux". The same is true also "rsync". This command is found in every Linux command reference.

4.1. tooltips

Tooltips are statements that appear over the options or text when the mouse passes over it. rsync arguments are displayed and sometimes a very short notice. This is probably the most effective aid in Grsync.

4.2. Help from authors

3 von 18 12.03.19, 07:25 Grsync - Rosenberger Communications https://ro-kom.de/grsync/

Help for "rsync" is called in the terminal with "rsync -help" or "rsync -h". The manual for "rsync" is to be invoked also in the terminal with "man rsync". On the Internet this Grsync page is http://www.opbyte.it/grsync/ find many references. A diverse documentation page of "rsync" is here on the net https://rsync.samba.org/, it is also the home page of "rsync".

4.3. Other Sites with offers

https://wiki.archlinux.de/title/Rsync https://wiki.archlinux.org/index.php/Rsync https://wiki.ubuntuusers.de/rsync/#Grafische-Benutzeroberflaechen

5. Orsoni Piero

About the author and his intention with "Grsync" here https://www.hostingadvice.com /blog/grsync-is-an-open-source-gui-for-rsync/ a nice contribution.

6. Description of the graphical interface

The surface is available in several languages, including German, English and Italian. In this guide, I use the German language version. Nevertheless rudimentary English, you require experience as all original aids are usually written in English in the terminal. A disadvantage of "Grsync" versus "rsync" I will not hide. The graphical interface can not display all the parameters of "rsync" as options. Despite everything that this program facilitates the semi-professional entry in the data backup and synchronization, it can "rsync" terminal command does not really represent. But what "Grsync" can, is probably sufficient for most users and that seems to be the goal of the author. And this manual here is certainly not suitable for system administrators. Unfortunately, "Grsync" is missing an option that includes the same seven parameters "-t -p -o -g -r -l D", the archive mode with the "-a". Professional therefore remains to use even only in the terminal "rsync".

6.1. menu

4 von 18 12.03.19, 07:25 Grsync - Rosenberger Communications https://ro-kom.de/grsync/

Below the window control is the menu. It consists of three menu items "File", "meeting" and "Help".

a) "File" menu

Select source directory ... Ctrl + S Select Destination Directory ... Ctrl + D Swap source and destination Interesting for multiple computers simulation Alt + S For error correction settings To run Alt + E Rsync command line Alt + R Interesting for your own scripts settings break up Ctrl + Q

b) Menu "sessions"

Add Alt + A Clear Alt + D Import Export

) "Help" menu

info corresponds to "About" or "About" Rsync information Version, website, author, license and others take part to http://www.opbyte.it/contribute.html Link

6.2. toolbar

The toolbar is below the menu bar. It involves starting from the left Name of the session Symbol to add a session or meeting Group Icon to delete a session or meeting Group

The last two symbols are

5 von 18 12.03.19, 07:25 Grsync - Rosenberger Communications https://ro-kom.de/grsync/

The issue and warnings of ongoing or completed session Far right, the icon to run the selected session

6.3. Bar with three tabs

They are divided into "Standard Options", "Advanced Options" and "additional options".

Standard options

6 von 18 12.03.19, 07:25 Grsync - Rosenberger Communications https://ro-kom.de/grsync/

Expanded options

additional options

7 von 18 12.03.19, 07:25 Grsync - Rosenberger Communications https://ro-kom.de/grsync/

Under '7. Backup these three tabs are now dealt with separately in their function. "

7. backup

Now a backup of the personal folder by the user "resu" on a computer connected to the external USB drive. In the future, data backups may take place more remote computers. If necessary, all I can additionally create an explicit example.

Beware, the destination directory must not be within the source directory. Or different if / home is secured, the target directory should not also be in "/ home". This can happen when a subfolder of "/ home" is, for example, to another disk or another partition, such as "/ sda1 / home / resu /" and "/ sdb2 / home / resu / backup".

7.1. preparations

If all the preparations are complete, you can start. Nevertheless, here are a few pointers. If the external device or the network drive is connected and mounted If the write permissions available for these devices, otherwise demand "Grsync" with elevated privileges, such as sudo, start or write access with su or sudo in the destination directory Check the free space on the fastest way in the terminal with "df -h" or graphically with "drives" or "drives" install "gnome-disk-utility" All updates are installed and the final restart was carried out An interruption of the backup operation can be excluded, as well as a cat on keyboard UPS is active because an incremental backup for private or small business usually is below 5 minutes would also guarantee that an "uninterruptible power supply"

7.2. Tab "Standard options"

The selection of directories for source and destination is very simple. In the two lines for an input source is entered manually or via the right switch, here with a folder icon, and the label "Open" in the top line. In the bottom line is the target directory. There do the same, as just the source is

8 von 18 12.03.19, 07:25 Grsync - Rosenberger Communications https://ro-kom.de/grsync/

acknowledged.

a) source

The source is the top-level directory data to be backed up even from. So not the primary root directory, but the top directory where yet to be backed up data. Do not worry, we come to exclusions from this directory, thus all the data that should not be backed up. In our example, the user's / home directory is "resu" secure. / Home / resu This path created in the target directory, create a folder named "resu". / Home / resu / This path ensures directly into the target directory.

b) Target

The target directory is ideally physically located outside of the computer. The convention of the path is determined, it can only be given the mounted address and not the mounted device. In our example, it is right with the Mounted address "/ run / media / resu / USB3 external / backup incremental /" The incorrect example for a path to the directory mounted device would be "/ dev / sdc1 / Backup incremental /" Examples of a network address "[email protected]: / home / resu2 / Backup" [email protected] ": / home / resu2 / Backup" For Internet addresses, only establish the SSH connection or the option "this command before" rsync "Run:" Using a script to let do it.

c) Setting the default options

To describe all the options is beyond the scope of this example. Therefore, I describe only the essential options. Otherwise applies, the programmer has already set the options that are appropriate for most users. Next help is available as described above under "3. Described secure ". Timestamp received > faster index of data backup by checking the timestamp Access rights get to> read and write, read-only and off for users and groups

9 von 18 12.03.19, 07:25 Grsync - Rosenberger Communications https://ro-kom.de/grsync/

Owners receive and receive group > The normal case is, users and groups are always retained to enable even without this option. These options must be observed when the directories are backed by multiple users and for the restoration. This option is only active for Linux file systems. In the destination directory delete > Important to remember when restoring data, otherwise the backup will actually represent the current state, including files that have been deleted in the source, delete the backup. File system does not rely > Only secured data when the file system of the source directory is not left. Detailed text > It the operation is described in detail. Show progress > The Progressionsbar calmed, but is of limited use for very large files, because often 90 then percent will be displayed while the backup is running twice as long as before. Existing ignore > Only newly created files and directories backed up. Only compare file size > There is a faster index of assurance by checking the file size created. By examining the time stamp and file size, an incremental backup can be accelerated even more. In a very improbable event that will be damaged in a crash backup files, the metadata of files could as time and size simulate an intact file. Newer Skip > Important when the system has been reset before. Windows Compatibility Mode > The time stamp may permit an exception to one second for slower Windows. The stored parameter is "--modify-window = 1". In the terminal, the time difference can also be changed arbitrarily at "rsync".

7.3. Tab "Advanced Options"

By default only "command line arguments received" is. File contents compress > This option saves time in archiving data to a web server. Is otherwise only suitable for lack of space or drastically enlarged fuse. Only update existing files and recursion disable > Could be used for completed projects to be important.

7.4. Additional options in the tab "Advanced Options"

So, now you have the possibility certain directories and files to exclude from the backup.

10 von 18 12.03.19, 07:25 Grsync - Rosenberger Communications https://ro-kom.de/grsync/

And even with the excluded data data can be included again. The attributes are "-exclude" and "-include". These rules are called filters and are '8. "Filter described in more detail.

7.5. Tab "Additional Options"

This really is comfort. "Grsync" gives the user more options before the start and end of the backup or synchronization to request further details. Run this command before "rsync" > This option I use with the entry "bleachbit". Which is processed no unwanted garbage with thus is guaranteed. For errors persist > I would only activate at the first screening of an established backup or synchronization to make any corrections in the settings. Almost this setting, the possibility of the simulation is already redundant, since even under "File" menu yet ready. Run this command for "rsync" > The entry "shutdown -P now" would be useful if the data backup or synchronization is the last event on the computer. Run as administrator > This limits "Grsync" one of the users with administrative rights, so sudo su or root. Only the owner of the password must execute meetings in "Grsync". That's right, with possible access of other persons in the work environment. After a backup is a responsible system work.

8. filter

Now the prime piece of rsync, the regulation with patterns, filters, English "pattern" is coming. The syntax appears normal users very strict, but the backups and synchronizations should also work outside your own network and thus is a strict logic observed. The syntax of the filter applies to as exclusion and inclusion. The described filter, the instructions are probably the most used. More filters to differentiate even further, are also possible.

8.1. Examples of filters

Now some points to note. For Linux newbies who are case sensitive please All statements with equal sign must be written without spaces first input all instructions for "include" and then "exclude" note differences between individual filters and filter lists

11 von 18 12.03.19, 07:25 Grsync - Rosenberger Communications https://ro-kom.de/grsync/

note paths, it is understood from the source directory sparing with wildcards

Beware, it is always assumed that the specified source directory, as here in our example "/ home / resu". The video directory / is recognized as correct. But given the entire path from the root "/ home / resu / Videos," then it does not work logically.

-Include = img-12.jpg > Includes the named file, despite the exclusion .jpg files with all img *. -Exlude = img * .jpg > The specified pattern instructs the files start in the name with the three letters "img" and enter the file extension ".jpg" are excluded. -Exclude = / Videos > The directory "/ videos" as a subdirectory of the source directory should not be included. -Exlude = / Documents / ProjektZero.pdf > The file "ProjektZero.pdf" should be excluded. -Exclude = /. Cache > The hidden directory "/.cache" as a subdirectory of the source directory should not be included. -Exlude = * ~ * > The specified pattern instructs that all directories and files have a tilde in the name are to be excluded. -Exlude = * dump.zip > The specified pattern instructs the files end in the name of "dump.zip" are excluded. -Exlude = *> The specified pattern instructs to exclude everything , because Asterisk, German star, is a so-called Wildcart, which may include any character. This, of course no backup or synchronization possible. This statement is therefore false, as -exclude = **.

8.2. filter lists

For filter lists the following shall apply notwithstanding. All include figures start with a plus sign followed by a space and the patterns themselves. All exclude figures start with a minus sign followed by a space and the pattern itself.

12 von 18 12.03.19, 07:25 Grsync - Rosenberger Communications https://ro-kom.de/grsync/

a) include filter lists

-Include-from = path / file -exclude-from = path / file

b) Examples of filter lists

File contents of the file "filter-include" + Desk / grsync * + video / tutorial-gimp.mp4 File contents of the file "filter-exclude" - grsync * - Videos / * - Music -. * - * ~ * A side note here. Thus, despite the exclusion of all files, see Wildcard, but still the file "tutorial-gimp.mp4" is to be included again from the "Movies", the syntax is different, as the exclusion of the entire directory "music". Be included these files as filter lists -include-from = desk / filter-include -exclude-from = desk / filter-exclude This example in the terminal rsync -r -t -v -progress -size-only -s -include-from = desk / filter-include -exclude-from = desk / filter-exclude / home / resu / / run / media / resu / USB3 external / backup incremental /

9. difference between backup and synchronization

a) The characteristics of the Backup

Backup to another device All the important data is archived in a secure environment Data recovery Compression of the target directory, optional

13 von 18 12.03.19, 07:25 Grsync - Rosenberger Communications https://ro-kom.de/grsync/

Planning the backup, preferably with "cron" or script Data backup to external devices or to a secure remote cloud, are the best options

b) The features of a synchronization

Synchronizing the data of at least two devices, none of the devices has absolutely priority Synchronization between mobile devices and / or between desktop PC's and / or Work stadium and / or cloud services Synchronization of calendar appointments and contacts Synchronization via the cloud is currently dominating

10. synchronization

All in point '7. Backup was written, "wide strikes extent also to the data synchronization. Here is an interesting example.

10.1. Synchronization over the network

To download a Web page, we take command wget or graphically with HTTrack. But to match such as a disk image quickly with a pre-existing, "Grsync" is also suitable. If necessary, ie if the source is new as the goal, the image is then downloaded. The indication of the source also requires the specification of the protocol, in our case here, "rsync: //" instead of "https: //".

a) Example

Source : rsync: //cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/amd64/iso- cd/debian-testing-amd64-netinst.iso Target : /home/resu/Distributionen/debian-testing-amd64-netinst-aktuell.iso

10.2. Synchronization of devices

14 von 18 12.03.19, 07:25 Grsync - Rosenberger Communications https://ro-kom.de/grsync/

When two desktop PC to synchronize s, it should be noted that only data of the / home directory and data are not very active are synchronized. Synchronize active binaries or active services may lead to a crash of the computer. The synchronization between mobile devices such as smartphone, tablet PC and the like, accepts a function of the operating system of the mobile devices.

11. Windows Special

Unfortunately, this chapter is necessary to facilitate a number of hurdles. If "Windows" is called, is always "10 Windows" to start with, otherwise it is called. What has been already established. Download original page, unfortunately without hash and other authentication Adjustment of the time stamp, with the parameter "--modify-window = 1"

11.1. Administrator "system"

"Windows", the "My Documents" only partly the users belong. A large part is allocated by "Microsoft" other administrative users. Therefore, there are many difficulties to overcome in case of system tasks, such as backup and synchronization. All built by "Microsoft" attributes and features that users complicate the control of "Windows", can not be treated here as the subject of a book would be. Nevertheless, here is an example, what you're getting at "Windows".

11.2. set filter

In order to set filters so that from the "My Documents" only that is saved, which is useful, the following note has to be assumed. The following directories directly under "My Documents" are only shortcuts and no real directories and these links include the Administrator "system." The rights administrator "System" are very difficult to transmit to the user. Moreover, it is not recommended, because all directories actually work only with English names in the operating system. app data cookies printing environment Own files

15 von 18 12.03.19, 07:25 Grsync - Rosenberger Communications https://ro-kom.de/grsync/

local settings Network Neighborhood Recent SendTo templates

This is no guarantee of completeness. If you try these links to filter, or even one, are exposed to all filter rules. Furthermore, it is expected from "Windows" to enter the English names for the directories in the filter.

11.3. Path and content of grsync.ini

Filters and other manual configurations for the program are stored in the "grsync.ini". The path is "C: \ AlleBenutzer \ winuser \ .grsync \ grsync.ini". Here's an example content of the "grsync.ini". Please no "# BEGINNING " and "# END but copy", with first teaching line.

# BEGINNING

[__CONFIG] command = rsync output = false remember = true error list = true logging = false root_x = 0 root_y = 0 width = 453 height = 499 last_session = backup-w file: Grsync text_source = C: \ Users \ winuser \ text_dest = E : \ backup-win \ text_com_before = C: \ Program files (x86) \ BleachBit \ bleachbit.exe text_addit = - exclude = cache --exclude = ntuser * --exclude = NTUSER * --exclude = cookies --exclude = Contacts --exclude = * = lnk --exclude --exclude = Favorites Downloads --exclude = dropbox --exclude = InstallAnywhere --exclude = templates text_com_after = check_time = false check_perm = false check_owner = false check_group = false check_onefs = false check_verbose = true

16 von 18 12.03.19, 07:25 Grsync - Rosenberger Communications https://ro-kom.de/grsync/

check_progr = true check_delete = false check_exist = false check_size = true check_skipnew = false check_windows = true check_sum = false check_symlink = false check_hardlink = false check_dev = false check_update = false check_keepart = false check_mapuser = false check_compr = false check_backup = false check_com_before = false check_com_halt = false check_com_after = false check_browse_files = false

# END Calling bleachbit did not work, so it has been disabled downstairs.

11.4. recommendation

Use "Cobian Backup". The author, Luis Cobian has many "Windows" can circumnavigate -Eigenheiten, by the start as a service and the creation of shadow copies. Please note during installation to start "Cobian Backup" as a service and to use in the subsequent configuration, the "shadow copies". After that, all filters set by me have been properly processed. In addition, there is a built-in scheduler, which is very differentiated set.

URL https://www.cobiansoft.com/

12. source

In addition to the above sources, the following sources can not be viewed. https://de.wikipedia.org/wiki/Rsync#Grafische_Oberfl% C3 % A4chen https://www.unixmen.com/grsync-gadmin-rsync-graphical-front-end-applications-rsync- tool/ https://www.freenet.de/digitalewelt/windowssoftware/datenbackup-mit-

17 von 18 12.03.19, 07:25 Grsync - Rosenberger Communications https://ro-kom.de/grsync/

grsync_705146_4734250.html

Your comment top

 March 9, 2019  Frank Rosenberger  Software  Security , System Maintenance

18 von 18 12.03.19, 07:25