Pbackup 3.1.9-1

Miscellaneous tools
Message
Author
User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#281 Post by charlie6 »

Hi Sigmund,
thanks for replying .. :)
Backuping to HD works nicely.
So...if i may ...«keep cool and avoid to put the pressure on you anyway ...» 8)

I noticed that most of the scripts to be non-executable inside the downloadable PBackup-3.1.9-1.pet.
So i took the liberty te render them as executable --> seems to run OK.

Greetings :)
Cheers, Charlie

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

[solved] memo about file timestamp and backup missing files

#282 Post by charlie6 »

Hi,
I was surprised while performing a backup using PBackup, when some sub-directories where backuped and sister/brother one's (?don't know the correct syntax) were not ... :shock:, although the offending folders were created after the «Save from date» time setting.

I found that those concerned folders had files older than the «Save from date» time setting, although the folder creation/modify date was later or equal to the «Save from date» time setting.
Doing some «housekeeping» among my files, i had created folders and put into them files far older than the folders one.

Before backuping, PBackup looks for files whose timestamp is younger than the «Save from date» time setting (please do correct if i'm wrong... 8) ); and afterwards looks for the corresponding folders. Only the files timestamp seems to be token into account for backuping, not the folders one.

What i did to solve this:
- open a terminal in the concerned folder(s)
- there do

Code: Select all

touch -m *.*
which modify the timestamp to the current timestamp
one might check this using the stat command doing

Code: Select all

stat myfile.ext
Hope this helps
Charlie

linuxcbon
Posts: 1312
Joined: Thu 09 Aug 2007, 22:54

#283 Post by linuxcbon »

In April64

# pbackup

missing many icons

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#284 Post by zigbert »

linuxcbon wrote:In April64

# pbackup

missing many icons
Barry is not including the latest pBackup package

bobc
Posts: 87
Joined: Wed 14 May 2014, 23:07

trying to do a restore

#285 Post by bobc »

I have Slacko 5.7.0 and booted from cd and then did a full backup of my /dev/sda8 partition with compression to a flashdrive in /dev/sdc1

Now I have booted my other system with the same Slacko 5.7.0 and have a partition /dev/sda10 that I want to restore from my flashdrive to.

I don't have a history file, so the restore won't allow me to select anything.

How can I restore the file I saved /mnt/sdc1/Backup_2015-01-29_16.52.15.tgz?

Thanks :)

PS: I used xarchive to open it and extracted it to /mnt/sda10, but because I had backed it up while running live from cd in order to ensure no activity while backing it up,it results it my getting my data in a /mnt/sda8 and then the normal directory structure on /sda10.

So I installed mc,LOL.ThenI realized that it was in /mnt, so I renamed that to /mnt2,then went to /mnt/sda10/mnt2/sda8 and moved the contents to /mnt/sda10. I was going to try it in rox but couldn't see the weird aufs files,and mc could see them,so I used it instead.

Ok, how do I chroot to it so I can install grub2 etc? I can't seem to find an example of that for slacko 5.7.0, or is there a better way?

PSS: I never did find a way to get to where I could boot it. I don't think there was anything wrong with the way your program worked to back it up, but I just didn't seem to be able to get the restore sequence and syntax correct, and not really sure what was wrong, so had to give up. I was successful with pudd but it takes a huge amount of space to build temporary files on the target drive and as a result does a tremendous amount of reading and writing to that temporary drive, which in my case is a USB 1.0 flashdrive so it literally takes hours each time to save or restore anything. That led me here. I did find that if instead of using EXT4 for the drive, if I format it EXT3, I can use partimage or fsarchiver, both of which should do a great job of compressing. I successfully used partimage to save and restore a 3 gb partition. It took less than 10 min to save it on the faster machine and only 30 min to restore on the old one, compared to taking 1/2 the day. I still don't know how to chroot with slacko pup, though, so am using manjaro to manage the boot until I can get slacko booted from the hard drive to be able to install and update grub from there. I will put in a separate thread for that.

Anyway, no need to answer my problem here, now...

PSSS: partimage left the partition sort of messed up. It appears to be the right size, but later after you boot it, you find out that it is only there as big as what it was on the backup, and you can run out of space. I needed to go into gparted before using it and have it check the partition before it gets mounted and that fixes it to its full size. I was lucky it was a fairly easy fix and aborted the copy I was doing before it ran out of room. Maybe fsarchiver will do better...

linuxcbon
Posts: 1312
Joined: Thu 09 Aug 2007, 22:54

#286 Post by linuxcbon »

zigbert wrote:Barry is not including the latest pBackup package
whats' the latest ? I see it has : version 3.1.9
missing many icons

Code: Select all

# pbackup 
grep: /root/.pbackup/pbackuprc: No such file or directory
/usr/local/pbackup/pbackup: line 2174: /usr/local/pbackup/locals/french: No such file or directory
/usr/local/pbackup/pbackup: line 192: /root/.pbackup/profiles/Pbackup_default: No such file or directory
EXIT=" "
EXIT=" "
cat: /root/.pbackup/tmp/pbackup-FTPSERVER: No such file or directory
cat: /root/.pbackup/tmp/pbackup-FTPSERVERDIR: No such file or directory
cat: /root/.pbackup/tmp/pbackup-FTPUSERNAME: No such file or directory
cat: /root/.pbackup/tmp/pbackup-FTPPASSWORD: No such file or directory
grep: /var/spool/cron/crontabs/root: No such file or directory
xwininfo: error: No window with name "Pbackup" exists!
xwininfo: error: No window with name "Pbackup" exists!
Killed

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#287 Post by zigbert »

linuxcbon wrote:
zigbert wrote:Barry is not including the latest pBackup package
whats' the latest ? I see it has : version 3.1.9
missing many icons
Please try the latest 3.19-1 from the main post. I have stopped supporting this crappy code, but 01micko fixed some icon trouble for Slacko, and I have uploaded his fix here.

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#288 Post by charlie6 »

Hi Sigmund :) !
zigbert wrote:..., but 01micko fixed some icon trouble for Slacko, and I have uploaded his fix here.
....Hmmmm!?..
zigbert wrote:...here.
... What about those missing icons, Where could man find that 01micko's missing-icons-fix?
Is it already present in 3.1.9-1?

Here using 3.1.9-1 since a bunch of months now for backing up from PCs HDD , as also USB flash drives, to an external HDD.
Although you consider its script needs to be rewritten, 3.1.9-1 does its job for now ! :)
Many thanks again Sigmund !
Charlie

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#289 Post by zigbert »

Charlie
3.1.9-1 is the most recent.
This one includes Mick's fix


Sigmund

Skydog007
Posts: 30
Joined: Thu 20 Aug 2015, 15:05
Location: Mt.Somewhere

#290 Post by Skydog007 »

May I see the source code?

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#291 Post by zigbert »

Skydog007
There is no sourcecode. pBackup is a bash script. Just look inside /usr/local/pbackup and open files in a text editor

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

Missing GUI icons

#292 Post by charlie6 »

Hi Sigmund !
Wishing you the best for 2016 (and next :D ) !

Using PBackup (now 3.19-1) since ca. 2013 to backup the same USB 4GB memory stick.

Here running wheezy-3.5.2.5 and 3.5.2.11 and also Tahrpup-6.0.X.
The PBackups GUI is missing all of its icons (only white squares with a red "X" cross are displayed :? ); i know someone has already posted about this earlier but i did'nt find a fix.

I(ve read http://www.murga-linux.com/puppy/viewto ... 512#822512 and did not finf them in PBackup-3.19-1.pet (downloaded a long time ago before links break).

Where could those icons to be found? The /usr/local/bin/script have line scripts mentionning gtk-* icons

Code: Select all

...<frame Welcome>
		   <pixmap icon_size=\"6\"><input file stock=\"gtk-refresh\"></input></pixmap>...
I also know that http://murga-linux.com/puppy/viewtopic. ... 759#558759 but my bash knowledge is far to challenfe the yours.

Another thing: links for download in first post seems to be broken

Many thanks for your time and for any answer :)

Charlie

OverDrive
Posts: 178
Joined: Mon 02 Jan 2006, 05:07
Location: Cleveland, OHIO,USA

Alternate site for this pet

#293 Post by OverDrive »

Hello Puppy users!

Just thought I'd drop a note for any users still looking for a copy of this pet while Russ is working on his new site. I found one at

http://distro.ibiblio.org/puppylinux/pe ... es-noarch/

Look down the list and you will find it there.

All the Best!

OverDrive
Instant Puppy Fan!!!

Post Reply