Re: [BackupPC-users] error restoring backup

2024-02-10 Thread Les Mikesell
On Sun, Feb 11, 2024 at 12:08 AM daggs  wrote:
>
>
> > > what is the expected behavior if I restore to remote and not localhost?
> > >
> >
> > That's going to depend on ssh being set up correctly on the remote.
> > And it will use the method configured for that host for the restore.
> > If you want the large tar image file instead you could use the web
> > interface to download it on some other computer with space.
> >
>
> both machines are headless...
> also, I'm not sure I can place a >2 TB file anywhere on my systems.
>
> I assume I can use BackupPC_zcat on each file and restore it to the proper 
> location, thing is, I have the files which are part of either full backup and 
> incremental backup
> and the last save is a incremental one, so is there a way to work with only 
> the incremental one and have BackupPC_zcat know when to take it from the full 
> backup?

Did you want to restore to the original remote host or to a mounted
local filesystem?  If the latter, and the problem is not having space
for the intermediate tar image file, then pipe the tarCreate command
output to an appropriate tar restore command. Note that the extract
will happen in your current directory unless you include a -C path
option, and ownership is going to be set according to the numeric user
id on the original file which may not match when on a different
machine.

-- 
   Les Mikesell
 lesmikes...@gmail.com


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-10 Thread daggs via BackupPC-users


> Sent: Saturday, February 10, 2024 at 11:14 PM
> From: "Les Mikesell" 
> To: "daggs" 
> Cc: "General list for user discussion, questions and support" 
> 
> Subject: Re: [BackupPC-users] error restoring backup
>
> On Sat, Feb 10, 2024 at 1:15 PM daggs  wrote:
> >
> > what is the expected behavior if I restore to remote and not localhost?
> >
> 
> That's going to depend on ssh being set up correctly on the remote.
> And it will use the method configured for that host for the restore.
> If you want the large tar image file instead you could use the web
> interface to download it on some other computer with space.
> 

both machines are headless...
also, I'm not sure I can place a >2 TB file anywhere on my systems.

I assume I can use BackupPC_zcat on each file and restore it to the proper 
location, thing is, I have the files which are part of either full backup and 
incremental backup
and the last save is a incremental one, so is there a way to work with only the 
incremental one and have BackupPC_zcat know when to take it from the full 
backup?


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-10 Thread Les Mikesell
On Sat, Feb 10, 2024 at 1:15 PM daggs  wrote:
>
> what is the expected behavior if I restore to remote and not localhost?
>

That's going to depend on ssh being set up correctly on the remote.
And it will use the method configured for that host for the restore.
If you want the large tar image file instead you could use the web
interface to download it on some other computer with space.

-- 
  Les Mikesell
lesmikes...@gmail.com


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-10 Thread daggs via BackupPC-users
what is the expected behavior if I restore to remote and not localhost?

> Sent: Saturday, February 10, 2024 at 7:42 PM
> From: "Les Mikesell" 
> To: "General list for user discussion, questions and support" 
> 
> Cc: "daggs" 
> Subject: Re: [BackupPC-users] error restoring backup
>
> On Sat, Feb 10, 2024 at 10:53 AM daggs via BackupPC-users
>  wrote:
> >
> > the log doesn't specify the command but I think I have a clue, I saw that 
> > the cmd is something in the line of this: 
> > https://unix.stackexchange.com/questions/291402/backuppc-restore-using-command-line-tools
> >
> > so it restores it to local path, in my case the tar file should be almost 3 
> > TB of size and the local path as at most 16 GB.
> > the target path has enough space.
> > so I assume the issue is lack of space
> 
> tarCreate writes to stdout, which in that example is redirected to a
> local file.  Send it where you have space - or test again restoring
> only a small directory.
> 
> -- 
>Les Mikesell
>  lesmikes...@gmail.com
>


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-10 Thread Les Mikesell
On Sat, Feb 10, 2024 at 10:53 AM daggs via BackupPC-users
 wrote:
>
> the log doesn't specify the command but I think I have a clue, I saw that the 
> cmd is something in the line of this: 
> https://unix.stackexchange.com/questions/291402/backuppc-restore-using-command-line-tools
>
> so it restores it to local path, in my case the tar file should be almost 3 
> TB of size and the local path as at most 16 GB.
> the target path has enough space.
> so I assume the issue is lack of space

tarCreate writes to stdout, which in that example is redirected to a
local file.  Send it where you have space - or test again restoring
only a small directory.

-- 
   Les Mikesell
 lesmikes...@gmail.com


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-10 Thread daggs via BackupPC-users
the log doesn't specify the command but I think I have a clue, I saw that the 
cmd is something in the line of this: 
https://unix.stackexchange.com/questions/291402/backuppc-restore-using-command-line-tools

so it restores it to local path, in my case the tar file should be almost 3 TB 
of size and the local path as at most 16 GB.
the target path has enough space.
so I assume the issue is lack of space

> Sent: Saturday, February 10, 2024 at 3:21 AM
> From: "Norman Goldstein" 
> To: backuppc-users@lists.sourceforge.net
> Subject: Re: [BackupPC-users] error restoring backup
>
> Run tarCreate at the command prompt. The log file may have the tarCreate 
> command line that was used.
> 
> On 2024-02-09 14:27, daggs via BackupPC-users wrote:
> >> Sent: Thursday, February 08, 2024 at 11:40 PM
> >> From: "Les Mikesell" 
> >> To: "General list for user discussion, questions and support" 
> >> 
> >> Cc: "daggs" 
> >> Subject: Re: [BackupPC-users] error restoring backup
> >>
> >> On Thu, Feb 8, 2024 at 2:46 PM daggs via BackupPC-users
> >>  wrote:
> >>> any ideas? maybe to use the cli interface?
> >>>
> >> If normal permissions and mount status are OK, the next thing that
> >> could be preventing writing is selinux.  Is it enabled/enforcing?
> >>
> > no selinux but I have advanced, I've rebooted the server and tried the same 
> > flow, this time I don't get the error as before, I get an request sent but 
> > when I'm looking inside the server status tab, I see this:
> > localhost   restore backuppc2024-02-09 22:24
> > 2024-02-09 22:24BackupPC_tarCreate failed
> >
> > how can I get more info on why it failed?
> >
> >
> > ___
> > BackupPC-users mailing list
> > BackupPC-users@lists.sourceforge.net
> > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> > Wiki:https://github.com/backuppc/backuppc/wiki
> > Project: https://backuppc.github.io/backuppc/
> 
> 
> 
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:https://github.com/backuppc/backuppc/wiki
> Project: https://backuppc.github.io/backuppc/
>


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/