Can I create an automatic backup with Grsync

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
walterdowis
Level 3
Level 3
Posts: 147
Joined: Mon Feb 03, 2014 10:10 pm

Can I create an automatic backup with Grsync

Post by walterdowis »

Hi all, I like using the GUI Grsync to backup my /home folders. Currently I have to manually create every backup. I don't see how to create an automatic backup in the GUI Grsync application. Is there a way I can setup Grsync to create a daily automatic backup?
User avatar
LanceM
Level 10
Level 10
Posts: 3271
Joined: Sun Jul 08, 2018 11:50 pm

Re: Can I create an automatic backup with Grsync

Post by LanceM »

For that, there is Deja Dup in the software manager, or Backintime which can be installed with:

Code: Select all

sudo apt-get update -y
followed by

Code: Select all

sudo apt-get install -y backintime-qt4
Deja Dup is quite simple. I use Backintime to backup my entire home directory. It's very good, but I don't use the scheduler. Data, I just use Grsync.
To mark this issue solved, go to your original 1st post and click the edit pencil and add [Solved] at the beginning of the title and click Submit.
Mint accepts donations: https://linuxmint.com/donors.php
User avatar
all41
Level 16
Level 16
Posts: 6563
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Can I create an automatic backup with Grsync

Post by all41 »

Here is how I do this:
Make a document and name it backup.sh
Inside that document:
example only:
#!/bin/bash
rsync -r -t -v -i -s /home/uno /mnt/backup/MATE_20.0
rsync -r -t -v -i -s /home/uno /media/uno/SD_Backup/MATE_20.0
Then right-click the file/properties and make it executable.
When clicked this backs up everything in my home directory to both an internal hd and to an sd card.
The basic command is rsync <source> <destination>
note one space between the source path and destination path.
In a terminal enter rsync --help to see what the rsync modifiers do--you may want to change.
Light travels faster than sound. That's why some people appear smart until you hear what they are saying.
You will seldom see a grey-beard wearing a tinfoil hat.
User avatar
deck_luck
Level 6
Level 6
Posts: 1042
Joined: Mon May 27, 2019 6:57 pm
Location: R-4808 North

Re: Can I create an automatic backup with Grsync

Post by deck_luck »

walterdowis wrote:
Tue Oct 20, 2020 9:28 pm
Hi all, I like using the GUI Grsync to backup my /home folders. Currently I have to manually create every backup. I don't see how to create an automatic backup in the GUI Grsync application. Is there a way I can setup Grsync to create a daily automatic backup?
Once you have a grsync options setup, you can save a session to use it again. A session is like a template that allows you to reuse it instead of manually selecting the options again. Once you have the grsync options setup, you can hit the plus sign at the top to save your session. To reuse the session click the left drop down box and select your session.
🐧Linux Mint 19 XFCE 💡Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️ Proverbs 4:7 Wisdom is the principal thing; therefore get wisdom: and with all thy getting get understanding.
User avatar
all41
Level 16
Level 16
Posts: 6563
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Can I create an automatic backup with Grsync

Post by all41 »

Yes--the op specifically mentioned grsync gui-- so double ds on me :roll:
Light travels faster than sound. That's why some people appear smart until you hear what they are saying.
You will seldom see a grey-beard wearing a tinfoil hat.
User avatar
MrEen
Level 22
Level 22
Posts: 15020
Joined: Mon Jun 12, 2017 8:39 pm

Re: Can I create an automatic backup with Grsync

Post by MrEen »

all41 wrote:
Tue Oct 20, 2020 10:15 pm
Yes--the op specifically mentioned grsync gui-- so double ds on me :roll:
Heck, I would have thought the GUI part of it would negate an "automatic" solution.

I suspect that depending on exactly what the OP wants, either answer could be the right choice. i.e. Still having to open the GUI wouldn't be my idea of automatic. I'd suspect they want a cron job running a script such as yours.
Post Reply

Return to “Software & Applications”