[SOLVED] Luckybackup super-user not available after install via Software Manager
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[SOLVED] Luckybackup super-user not available after install via Software Manager
Dear all,
For quiet some time now I use LuckyBackup for my backup needs. I think it works flawless.
Previously when I installed LuckyBackup via the Software Manager in Linux Mint it installed two instances, LuckyBackup and LuckyBackup Super-User which both could be started via separate icons in the applications menu. I always used the super user one because of some specific folders that could only be backuped in SU mode. But now, when I install LuckyBackup via the Linux Mint 19 Software Manager, it only installs the LB standard mode and the SU version is not available. Anyone out there who is having the same issue? And of course a workaround?
Thanks in advance.
For quiet some time now I use LuckyBackup for my backup needs. I think it works flawless.
Previously when I installed LuckyBackup via the Software Manager in Linux Mint it installed two instances, LuckyBackup and LuckyBackup Super-User which both could be started via separate icons in the applications menu. I always used the super user one because of some specific folders that could only be backuped in SU mode. But now, when I install LuckyBackup via the Linux Mint 19 Software Manager, it only installs the LB standard mode and the SU version is not available. Anyone out there who is having the same issue? And of course a workaround?
Thanks in advance.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Luckybackup super-user not available after install via Software Manager
I've noticed that too, but as I only use LuckBackup for my /home I don't worry about it.
I can guess why super-user version is not included and my guess is that because Mint19 dropped gksu (as did Ubuntu 18.04) from the repos. LuckyBackup hasen't been in active development for a few years now so I doubt it'll ever adjust to the pkexec version.
You could try running it from the command line
Cheers
I can guess why super-user version is not included and my guess is that because Mint19 dropped gksu (as did Ubuntu 18.04) from the repos. LuckyBackup hasen't been in active development for a few years now so I doubt it'll ever adjust to the pkexec version.
You could try running it from the command line
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY luckybackup
and see if that works. Checkout this thread viewtopic.php?f=47&t=270721 for more info on the topic.Cheers
Re: Luckybackup super-user not available after install via Software Manager
Hi greerd. Thanks for your quick reply. In the meantime I searched on the web and read about lack of development on LB as you also point out in your reaction. As an alternative I am looking now into BackInTime, which is kind of the same. I like how this app is setup and I like the workflow, so probably BackInTime will be my new goto backup app.greerd wrote: ⤴Wed Jul 04, 2018 9:38 am I've noticed that too, but as I only use LuckBackup for my /home I don't worry about it.
I can guess why super-user version is not included and my guess is that because Mint19 dropped gksu (as did Ubuntu 18.04) from the repos. LuckyBackup hasen't been in active development for a few years now so I doubt it'll ever adjust to the pkexec version.
You could try running it from the command linepkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY luckybackup
and see if that works. Checkout this thread viewtopic.php?f=47&t=270721 for more info on the topic.
Cheers
Thanks again.
Re: Luckybackup super-user not available after install via Software Manager
I have tried to work my way around this issue by creating a policy file
luckybackup.policy
put in/usr/share/polkit-1/actions/
with the following content:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<action id="org.freedesktop.policykit.pkexec.run-luckybacup">
<description>Run LuckyBackup</description>
<message>Authentication is required to run LuckyBackup</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/luckybackup</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate>
</action>
</policyconfig>
Code: Select all
pkexec /usr/bin/luckybackup
Re: Luckybackup super-user not available after install via Software Manager
i don't understand why you go out of your way to avoid using
timeshift
which is already provided for you and doesn't need much effort from the user. true that timeshift is mainly constructed to restore the user/root filesystem not the user/home but i have never needed to restore my personal files which are already stored on different storage drivesRe: Luckybackup super-user not available after install via Software Manager
I use timeshift for my system ('/'), but luckybackup for my /home. That's the default for timeshift anyhow (excludes /home) and it allows easier and faster restores.
On my system timeshift is scheduled to backup to an internal drive so I can recover from a borked update quickly while luckbackup is run manually to backup to an external usb drive. Works for me.
On my system timeshift is scheduled to backup to an internal drive so I can recover from a borked update quickly while luckbackup is run manually to backup to an external usb drive. Works for me.
Re: Luckybackup super-user not available after install via Software Manager
Hi trytip,trytip wrote: ⤴Wed Jul 04, 2018 11:10 am i don't understand why you go out of your way to avoid usingtimeshift
which is already provided for you and doesn't need much effort from the user. true that timeshift is mainly constructed to restore the user/root filesystem not the user/home but i have never needed to restore my personal files which are already stored on different storage drives
Thanks for your input. To be honest I never considered Timeshift because I thought it was only there to backup system files. My data is spread out over 5 internal and external drives (setup separately for my docs, my android and web development data, my photography related data, my video editing, etc) and to backup all that data I use an external Raid solution. In my opinion Luckybackup provided a very nice workflow for setting up, naming and processing backups of all these source drives to this Raid box, so until now I never thought about an alternative backup solution.
But based on your idea to use Timeshift I had a look and I see that I can indeed add my drives to be backed up as well. Thank you for that. I will have a look if it works for me.
Re: Luckybackup super-user not available after install via Software Manager
Hi Marziano,Marziano wrote: ⤴Wed Jul 04, 2018 10:49 am
I have tried to work my way around this issue by creating a policy fileluckybackup.policy
put in/usr/share/polkit-1/actions/
with the following content:and then launching Luckybackup in superuser mode from terminal by:Code: Select all
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> <policyconfig> <action id="org.freedesktop.policykit.pkexec.run-luckybacup"> <description>Run LuckyBackup</description> <message>Authentication is required to run LuckyBackup</message> <defaults> <allow_any>no</allow_any> <allow_inactive>no</allow_inactive> <allow_active>auth_admin_keep</allow_active> </defaults> <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/luckybackup</annotate> <annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate> </action> </policyconfig>
Next, I created a launcher for it in the application menu and it seems to be working.Code: Select all
pkexec /usr/bin/luckybackup
This seems like a smart solution. I like the effort of workarounds and I will at least try it out to see if it works for me. Thanks for your input.
Re: Luckybackup super-user not available after install via Software Manager
you are correct. the point of timeshift is to backup ONLY the system files stored in your root directory. it was never intended to backup personal files like documents and videos (but it can if you include them provided they are stored on ext2-4 filesystems) . i have my videos and documents safely stored on other drives and do not need them included in timeshift. i have too many terabytes to backup and that would mean i need double the hard drive space for backup.johnbeen wrote: ⤴Thu Jul 05, 2018 3:32 pm Hi trytip,
... To be honest I never considered Timeshift because I thought it was only there to backup system files. My data is spread out over 5 internal and external drives (setup separately for my docs, my android and web development data, my photography related data, my video editing, etc) and to backup all that data I use an external Raid solution. In my opinion Luckybackup provided a very nice workflow for setting up, naming and processing backups of all these source drives to this Raid box, so until now I never thought about an alternative backup solution.
But based on your idea to use Timeshift I had a look and I see that I can indeed add my drives to be backed up as well. Thank you for that. I will have a look if it works for me.
timeshift is a way to reverse changes that cause upgrades and updates rendering your system not to boot or boot with errors.
Re: Luckybackup super-user not available after install via Software Manager
I would NOT include your personal data files in your Timeshift backup. If you do, then if you do a restore you would lose all changes to your data files that you had made since that backup. That's why it is intended just for your system files. I don't know if it's possible to set up separate Timeshift backup regimes for system and data files separately.
Full-time Linux user since 2007, Mint since 2014
-
- Level 6
- Posts: 1138
- Joined: Thu May 03, 2012 3:54 am
- Location: Israel
- Contact:
Re: Luckybackup super-user not available after install via Software Manager
As others explained already, Timeshift serves a very specific purpose and can't be considered a backup solution for user data.trytip wrote: ⤴Wed Jul 04, 2018 11:10 am i don't understand why you go out of your way to avoid usingtimeshift
which is already provided for you and doesn't need much effort from the user. true that timeshift is mainly constructed to restore the user/root filesystem not the user/home but i have never needed to restore my personal files which are already stored on different storage drives
Luckybackup is a very versatile backup program, actually a GUI frontend for rsync. I don't think it matters too much that it's not in active development, after all it is a front end to software that is in active development.
I use Luckybackup to backup local EXT4 based files to other local drives and to a remote server, as well as NTFS volumes (from my Windows VM) to remote storage, or to external drives. Some of my data is stored in 4 places, not including cloud storage (which would be a bit expensive for multiple terabytes).
Changing command syntax is a bad thing. I understand the cons of gksudo etc., but why not improve the original application/command? Why do I have to learn different commands with every new release of Linux Mint, Ubuntu etc.?
I hope those who package Luckybackup will update the package to include a super-user launcher that actually works.
Subjects of interest: Linux, vfio passthrough virtualization, photography
See my blog on virtualization, including tutorials: https://www.heiko-sieger.info/category/ ... alization/
See my blog on virtualization, including tutorials: https://www.heiko-sieger.info/category/ ... alization/
Re: [SOLVED] Luckybackup super-user not available after install via Software Manager
@powerhouse
whatever works for you is what's the best. i never need a backup program for my personal files, i have them stored on other drives. timeshift restored my mint19 after i deleted the partition and installed another os. so if i want to test out a new os and don't want to mess with resizing other partitions i delete my current os try the new one and then restore it with timeshift as if it was never deleted.
whatever works for you is what's the best. i never need a backup program for my personal files, i have them stored on other drives. timeshift restored my mint19 after i deleted the partition and installed another os. so if i want to test out a new os and don't want to mess with resizing other partitions i delete my current os try the new one and then restore it with timeshift as if it was never deleted.
-
- Level 6
- Posts: 1138
- Joined: Thu May 03, 2012 3:54 am
- Location: Israel
- Contact:
Re: [SOLVED] Luckybackup super-user not available after install via Software Manager
Thanks for the comment. I do use Timeshift too (should have mentioned it in the first place), but as you said, for system backups only.trytip wrote: ⤴Mon Jul 16, 2018 4:26 pm @powerhouse
whatever works for you is what's the best. i never need a backup program for my personal files, i have them stored on other drives. timeshift restored my mint19 after i deleted the partition and installed another os. so if i want to test out a new os and don't want to mess with resizing other partitions i delete my current os try the new one and then restore it with timeshift as if it was never deleted.
Thanks Marziano, your solution worked for me, too.
Subjects of interest: Linux, vfio passthrough virtualization, photography
See my blog on virtualization, including tutorials: https://www.heiko-sieger.info/category/ ... alization/
See my blog on virtualization, including tutorials: https://www.heiko-sieger.info/category/ ... alization/
Re: [SOLVED] Luckybackup super-user not available after install via Software Manager
@powerhouse
You are welcome!
to hear that it worked!
Cheers
You are welcome!
to hear that it worked!
Cheers
Re: [SOLVED] Luckybackup super-user not available after install via Software Manager
Hi, I've been using Luckybackup for years and never needed ‘super-user’ but on mint 19 Luckybackup doesn’t ‘see’ any drives, internal or network other than Home, rendering it completely unusable. I wonder if what you have been discussing wrt super-user privileges could have a bearing on this or is my issue something else?
Appreciate any help you can give
Cheers
Appreciate any help you can give
Cheers
Re: [SOLVED] Luckybackup super-user not available after install via Software Manager
<moderator on>
Split off Hairyman's post into a separate thread, Problems using Timeshift, because the post is about Timeshift; but this thread is about Luckybackup and marked as [solved]
</moderator off>
Split off Hairyman's post into a separate thread, Problems using Timeshift, because the post is about Timeshift; but this thread is about Luckybackup and marked as [solved]
</moderator off>
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 750 days now.
Lifeline