Jump to content


Photo

AutoBackup plugin question

AutoBackup passwd

  • Please log in to reply
11 replies to this topic

#1 talbs

  • Senior Member
  • 101 posts

+9
Neutral

Posted 17 February 2014 - 17:46

Hi, 

 

Does AutoBackup plugin backup by default the /etc/passwd file?

 

Then on fresh installation, no need to change password.

 

Thank you for the answer.


Edited by talbs, 17 February 2014 - 17:46.

PIMP my PLiHD skin on GitHub: https://github.com/talbss/PIMP-my-PLiHD-by-talbs

My skin_user_PLi-HD1.xml on GitHub: https://github.com/t...in_user_PLi-HD1


Re: AutoBackup plugin question #2 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 17 February 2014 - 18:06

I can't remember ever selecting it, and after every flash I still have my own password set, so I would say "Yes".


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: AutoBackup plugin question #3 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 17 February 2014 - 18:09

Its a "Yes"

 

Passwd, shadow and fstab are default stored in backup file of autobackup.


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: AutoBackup plugin question #4 talbs

  • Senior Member
  • 101 posts

+9
Neutral

Posted 17 February 2014 - 22:57

Thank you for the confirmation.

 

I thought so that's why i asked the question.

 

So i just uninstalled the plugin, and reinstalled it using the online feed. (version 2.0+git52)

 

Then checked backup.cfg file in Autobackup folder in Extensions. (I think that this file contains the default back up files)

 

And the content is:

 

/etc/dropbear/dropbear_rsa_host_key
/etc/CCcam.cfg
/etc/CCcam.prio
/etc/CCcam.channelinfo
/etc/CCcam.providers
/etc/exports
/etc/radegast.cfg
/etc/newsreader.conf
/etc/NETcaster.conf
/etc/resolv.conf
/etc/wpa_supplicant.conf
/etc/autoinstall
/etc/backup.cfg
/etc/network/interfaces
/etc/samba/smb.conf
/etc/enigma2/
/home/root/.ssh/
/home/root/.profile
/etc/tuxbox/config/
/etc/init.d/rcS.local

I am on DM800HDse with Pli4

 

It seems that mine is not set to back up password file.

 

Your comments are welcome


PIMP my PLiHD skin on GitHub: https://github.com/talbss/PIMP-my-PLiHD-by-talbs

My skin_user_PLi-HD1.xml on GitHub: https://github.com/t...in_user_PLi-HD1


Re: AutoBackup plugin question #5 talbs

  • Senior Member
  • 101 posts

+9
Neutral

Posted 18 February 2014 - 09:40

Ok, i understood now that fstab, passwd and shadow files are backed up by settings-backup.sh script.

 

I confirm that during the back up process these 3 files are copied to /tmp/ folder and included in /tmp/restore.cfg file.

 

But at last step, they are not included in the .tar file created in /hdd/backup/ folder

 

What's wrong?


PIMP my PLiHD skin on GitHub: https://github.com/talbss/PIMP-my-PLiHD-by-talbs

My skin_user_PLi-HD1.xml on GitHub: https://github.com/t...in_user_PLi-HD1


Re: AutoBackup plugin question #6 talbs

  • Senior Member
  • 101 posts

+9
Neutral

Posted 18 February 2014 - 10:08

ok need to correct above statement, these files are included in tar archive under /tmp/ folder. 

 

Will check correct behavior on next fresh installation.

 

Sorry ...


Edited by talbs, 18 February 2014 - 10:09.

PIMP my PLiHD skin on GitHub: https://github.com/talbss/PIMP-my-PLiHD-by-talbs

My skin_user_PLi-HD1.xml on GitHub: https://github.com/t...in_user_PLi-HD1


Re: AutoBackup plugin question #7 MiLo

  • PLi® Core member
  • 14,042 posts

+298
Excellent

Posted 18 February 2014 - 14:03

The password related files get "special treatment" and don't get backed-up "as is". Only the "root" line is preserved. This is to make sure that major system updates that need modifications in these files don't interfere with a restore that just wants to preserve a password.

As with anything, the proof of the pudding is in the eating. Just try, it certainly takes less time than we've already spent writing about it.
Real musicians never die - they just decompose

Re: AutoBackup plugin question #8 talbs

  • Senior Member
  • 101 posts

+9
Neutral

Posted 23 February 2014 - 15:34

Hi,

 

Yesterday i've done a fresh flash on my DM800HDse.

And guess what, my passwd wasn't restored (i get the default blank password).  :wacko:

 

 

I have one question.

If i carefully looks into settings-backup.sh there is no mention of shadow file. (fstab and passwd files are partially restored)

 

So why this file if backed up and not restore? (sorry if it's a dumb question)

 

also an other question, is there a way to install some plugins which ipk are store on my box hdd on first boot after fresh install?

 

thank you for the feedback.


PIMP my PLiHD skin on GitHub: https://github.com/talbss/PIMP-my-PLiHD-by-talbs

My skin_user_PLi-HD1.xml on GitHub: https://github.com/t...in_user_PLi-HD1


Re: AutoBackup plugin question #9 talbs

  • Senior Member
  • 101 posts

+9
Neutral

Posted 23 February 2014 - 15:44

Me again, 

 

In settings-backup.sh if i replace :

 

passwd by shadow

passwds by shadows

 

My favorite backup is restored!

 

(after having set passwd, backup, change passwd, launch modified settings-backup.sh script --> my initial backup is back)

 

:)


PIMP my PLiHD skin on GitHub: https://github.com/talbss/PIMP-my-PLiHD-by-talbs

My skin_user_PLi-HD1.xml on GitHub: https://github.com/t...in_user_PLi-HD1


Re: AutoBackup plugin question #10 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 23 February 2014 - 15:50

Good consideration.... or do both!


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: AutoBackup plugin question #11 talbs

  • Senior Member
  • 101 posts

+9
Neutral

Posted 24 February 2014 - 10:16

Me again, 

 

In settings-backup.sh if i replace :

 

passwd by shadow

passwds by shadows

 

My favorite password is restored!

 

(after having set passwd, backup, change passwd, launch modified settings-backup.sh script --> my initial password is back)

 

:)

Oups, typo, corrected in red!


PIMP my PLiHD skin on GitHub: https://github.com/talbss/PIMP-my-PLiHD-by-talbs

My skin_user_PLi-HD1.xml on GitHub: https://github.com/t...in_user_PLi-HD1


Re: AutoBackup plugin question #12 talbs

  • Senior Member
  • 101 posts

+9
Neutral

Posted 7 March 2014 - 15:22

Hi,

 

Again i have a done a fresh installation yesterday and my customized password wasn't restored.

 

Also, i have selected manually some files to be backed up and restored by Autobackup plugin.

 

And the last file of backup.cfg file wasn't restored after my fresh install (even if it has been correctly backed up, I check it is present in the back up archive)!

 

backup.cfg contains 4 lines, and only 3 first were restored.

 

Am I doing something wrong???

 

Can anyboby confirm that its customized password is correctly restored on fresh installation?

 

Thank you


Edited by talbs, 7 March 2014 - 15:24.

PIMP my PLiHD skin on GitHub: https://github.com/talbss/PIMP-my-PLiHD-by-talbs

My skin_user_PLi-HD1.xml on GitHub: https://github.com/t...in_user_PLi-HD1




Also tagged with one or more of these keywords: AutoBackup, passwd

2 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


    Bing (1)