Are you a spammer

Please note, that the first 3 posts you make, will need to be approved by a forum Administrator or Moderator before they are publicly viewable.
Each application to join this forum is checked at the Stop Forum Spam website. If the email or IP address appears there when checked, you will not be allowed to join this forum.
If you get past this check and post spam on this forum, your posts will be immediately deleted and your account inactivated.You will then be banned and your IP will be submitted to your ISP, notifying them of your spamming. So your spam links will only be seen for an hour or two at most. In other words, don't waste your time and ours.

This forum is for the use and enjoyment of the members and visitors looking to learn about and share information regarding the topics listed. It is not a free-for-all advertising venue. Your time would be better spent pursuing legitimate avenues of promoting your websites.

How to change my backup's owner from root to my user name?

The Ultimate Guide for the rest of us


How to change my backup's owner from root to my user name?

Postby Lynwood » Sat Jan 08, 2011 3:42 pm

Hello,

I still have Ultimate Edition 2.6 (in somewhat compromised form) and feel prevented from modifying it, let alone updating it, until I'm satisfied that my backups work. I'm using Back in Time, and it's backing up just fine. The problem is that, when I installed my backup filesystem, ext4, it automatically made the owner root. So I can't restore my backups. Correct em if I'm wrong. I want to know how to change the backup fs's owner from root to my user name. How do I do that?

This is a huge sticking point. I'll be eternally grateful for the answer to this. Thank you.

Ray
Lynwood
U.E. Knowledgable
U.E. Knowledgable
 
Posts: 37
Joined: Sun Jan 24, 2010 9:59 pm
Operating System: Ultimate Edition KDE4



Re: How to change my backup's owner from root to my user nam

Postby TheeMahn » Sat Jan 08, 2011 9:04 pm

Lynwood wrote:Hello,

I still have Ultimate Edition 2.6 (in somewhat compromised form) and feel prevented from modifying it, let alone updating it, until I'm satisfied that my backups work. I'm using Back in Time, and it's backing up just fine. The problem is that, when I installed my backup filesystem, ext4, it automatically made the owner root. So I can't restore my backups. Correct em if I'm wrong. I want to know how to change the backup fs's owner from root to my user name. How do I do that?

This is a huge sticking point. I'll be eternally grateful for the answer to this. Thank you.

Ray


Lets say the drive in question is mounted at /media/backup:
Code: Select all
sudo chown -R $USER:$USER /media/backup/


man chown in the terminal for more information.
Home of Ultimate Edition. Got a question? Please review the F.A.Q. Browse the How to section.

Main O/S: Builder of O/S Guess.
Mainboard: ASUS Hero VI (AM4)
CPU: AMD 1700X water cooled (Deepcool Captain Genome Cooling tower)
Ram: 16 GB GSkill Trident RGB Series Dual Channel DDR4 3200
Video: MSI RX470 8GB Gaming card.
Hard Disks: MASSIVE on the network.(10 Gigabit, 48 port, multiple servers)
Monitors: Dual 4K 43" LG, 4K Samsung 28"
750 Watt modular PSU (Rosswell)
1100 Watt Amp & 4 X 600 Watt speakers

Servers in the basement.
User avatar
TheeMahn
Site Admin
 
Posts: 4201
Joined: Fri Oct 12, 2007 10:02 am
Location: U.S.A.
Age: 53
Operating System: Ultimate Edition Developer



Re: How to change my backup's owner from root to my user nam

Postby Lynwood » Sun Jan 09, 2011 12:04 pm

Thank you. If I change the owner's name of my backup fs (it's ext4 on an external hdd, mounted at /media) to my desktop's user (account) name, will my Back in Time backups be restoreable? I'll follow your advice shortly. Thanks again.
Lynwood
U.E. Knowledgable
U.E. Knowledgable
 
Posts: 37
Joined: Sun Jan 24, 2010 9:59 pm
Operating System: Ultimate Edition KDE4



Re: How to change my backup's owner from root to my user nam

Postby Lynwood » Sun Jan 09, 2011 6:44 pm

It seems to have worked. Now I have to be sure I know how to restore a folder &/or file. The Restore option seems to be available.
Lynwood
U.E. Knowledgable
U.E. Knowledgable
 
Posts: 37
Joined: Sun Jan 24, 2010 9:59 pm
Operating System: Ultimate Edition KDE4



Re: How to change my backup's owner from root to my user nam

Postby Lynwood » Sun Feb 06, 2011 5:49 pm

Here I go again. I'm very sorry for the interruption: I've been very ill for a month now.

Your instruction worked ... for a day. In the next night's backup, Backintime/Rsync backed up my data as root again and has ever since. The idea is to back up my critical information so it's immediately restore-able. It seems to me that, if I back it up as my username (I see nowhere in Backintime's settings to set this), just as I normally use the backed up information, it'd be immediately restore-able. I can't tell whether there's a constraint/limitation in my ext4 fs (I used Gparted to install both a FAT32 partition and this ext4 partition and fs) or it's a constraint/limitation/design of Backintime or Rsync. I emailed Backintime's dev but have gotten no response.

I know this isn't difficult, I just don't know the answer.

Again, I'll appreciate good direction. Thanks.
Lynwood
U.E. Knowledgable
U.E. Knowledgable
 
Posts: 37
Joined: Sun Jan 24, 2010 9:59 pm
Operating System: Ultimate Edition KDE4


Return to Newbie's Corner

Who is online

Users browsing this forum: No registered users and 47 guests