Pbackup 3.1.9-1

Miscellaneous tools
Message
Author
User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

Problem running pbackup on slacko

#271 Post by peebee »

Hello

I'm trying to use pbackup on slacko 5.3.2.8 to backup a directory on one harddisk to a directory on a 2nd harddisk.

I've set it all up and done a full backup which is reported as being successful but there is nothing in the backup directory - see screenie attached.

I've checked through all the settings and cannot see what I'm doing wrong.

Both disks are ntfs formatted - would that matter??

Many thanks for any help anybody can give.

Cheers
peebee
Attachments
pbackup.png
(145.76 KiB) Downloaded 1572 times
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#272 Post by don570 »

I don't use pbackup but...

There's a file called 'config' that holds the needed settings for
the app mirdir that Zigbert uses. I would speculate that
the file 'config' was damaged somehow. Maybe your partition was
filed up when config was being written to and the file couldn't be
saved?? Just a guess.

I recommend my fork of pmirror. I've spent the last couple of weeks
fixing it up. :lol:
http://murga-linux.com/puppy/viewtopic. ... 164#621164

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

pbackup

#273 Post by don570 »

I tried pbackup and the two key files seem to be

/root/.pbackup/tmp/pbackup-tmp
/root/.pbackup/profiles/Pbackup_default

____________________________________

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

#274 Post by zigbert »

Uploaded 01micko's iconfix
See main post

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

#275 Post by zigbert »

I have done some initial work on a new major upgrade of pBackup.


Sigmund

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

#276 Post by zigbert »

Image

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

pBackup recent backing up complete

#277 Post by charlie6 »

Hi Sigmund,

Am i missing something in using of pbackup ...?

Using pbackup-3.1.9 on dpup wheezy to a dvd (on sr1):
after having done a complete backup of my sda6 partition (vfat), further «recent» backup are backing up «complete»; as also through the Inspection simulation which right shows the recent modified files to be backed-up, but instead backs up «complete» once pressed the «Finished» button ... :?: :shock:

Here are the first lines of the Log:
that log has all the files of the to be backed up partition, wheres the inspection log showed only about 20 files (which is realistic as far as i remember the number of modifies/saved files for two days time).
/mnt/sda6/ ...
...searching files...
...searching directories...
mount: block device /dev/sr1 is write-protected, mounting read-only
Executing 'genisoimage -C 16,1730000 -M /dev/fd/3 -R -f -D -graft-points Backup_2014-08-17---2014-08-19_08.22.30/mnt/sda6/=/mnt/sda6/ | builtin_dd of=/dev/sr1 obs=32k seek=108125'
Warning: -follow-links does not always work correctly; be careful.
I: -input-charset not specified, using utf-8 (detected in locale settings)
Rock Ridge signatures found
Using ABIWO000.PET;1 for /mnt/sda6/Abiword/abiw...

Another thing: see screenshot
I suspect my dvd to ran out of space, what is confirmed by the warning box ... which tells «the temporary storage» to be too small: i dug several times around to find a large enough partition and to run pbackup again, before being aware the dvd disc to be full ... :?
ps: ...yeeeah ! :oops: «Log may hold more information»

Thanks for any answer !
Greetings, Charlie
Attachments
pbackup2.png
(28.49 KiB) Downloaded 618 times

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

#278 Post by zigbert »

Charlie
please see this


Sigmund

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

Backup recent

#279 Post by charlie6 »

Hi,
@Sigmund:
then, thanks for your job !

So here "Backup recent" keeps burning the whole partition even the day after the first backup ... on CD/DVD.

Files to be saved are in /root/.pbackup/tmp/pupbck-files and are though correctly identified as the "recent" files since last backup.

I've tried to dig into the code to see where the burning command lies, for a first understanding on "how it works"; and did not find the pupbck-files file in the growisofs command lines;
nor in the = GROWISOFS = section of /usr/local/pbackup/pbackup;
but well in its = COPY TO HD = section (tested: "Backup recent" works nice as expected if saving to an HD :) ).

So i wonder if "Backup recent" to a CD/DVD would be still among a todo list ... :?

Thanks for any comment
Charlie

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

#280 Post by zigbert »

If things stick to the plan, we will get a new pBackup during the winter.
All burning will be pointed to pBurn which is now flexible and stable to do that task.
Scheduling will be pointed to pSchedule.
File searching will be pointed to pFilesearch.

I have tried to dig into the pBackup code (my own code), and I find it hopeless. - I don't understand the dataflow... :oops: :)
A complete rewrite is required !

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?

Post Reply