Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Harrison's Postulate: For every action, there is an equal and opposite criticism.


computers / alt.os.linux.mint / Re: Recovering a backup

SubjectAuthor
* Recovering a backuppinnerite
+- Re: Recovering a backupPaul
+* Re: Recovering a backupstepore
|`* Re: Recovering a backuppinnerite
| `- Re: Recovering a backupstepore
`* Re: Recovering a backupDan Purgert
 `* Re: Recovering a backuppinnerite
  `* Re: Recovering a backupPaul
   `* Re: Recovering a backuppinnerite
    `* Re: Recovering a backupPaul
     `- Re: Recovering a backuppinnerite

1
Recovering a backup

<20230524124206.ed6cf5e938d3f07c5dd02bf6@gmail.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6190&group=alt.os.linux.mint#6190

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pinner...@gmail.com (pinnerite)
Newsgroups: alt.os.linux.mint
Subject: Recovering a backup
Date: Wed, 24 May 2023 12:42:06 +0100
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <20230524124206.ed6cf5e938d3f07c5dd02bf6@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="9c7442a5466f437fcec1b83eec05c427";
logging-data="3117276"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18TUXgsRdqShJsIzvmFJwaXd+qYl72bfyA="
Cancel-Lock: sha1:PPuSVtiisuNtZj/gnNYcagA3IO4=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu)
 by: pinnerite - Wed, 24 May 2023 11:42 UTC

I need to recover a virtual Windows 10 from my backup machine.

The work machine's folder to receive it is alan@albury
The backup machine folder currently holding it is alan@churchill

I had ssh'd into churchill from albury.
From the source directory I entered the copy string:

alan@churchill:/home/backup/alan/VirtualBox_VMs$ scp -r ./"Windows 10-x64" alan@albury.

It started "doing something", ran for quite a while and the prompt reapeared.

BUT I am blowed if I can see the copied directory!

What am I doing wrong?

--
Mint 21.1, kernel 5.15.0-72-generic, Cinnamon 5.6.8
running on an AMD Phenom II X4 Black edition processor with 16GB of DRAM.

Re: Recovering a backup

<u4lp8n$32hge$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6191&group=alt.os.linux.mint#6191

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nos...@needed.invalid (Paul)
Newsgroups: alt.os.linux.mint
Subject: Re: Recovering a backup
Date: Wed, 24 May 2023 15:41:10 -0400
Organization: A noiseless patient Spider
Lines: 95
Message-ID: <u4lp8n$32hge$1@dont-email.me>
References: <20230524124206.ed6cf5e938d3f07c5dd02bf6@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 24 May 2023 19:41:11 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="dc09c54de6c67533946384e70bf2a116";
logging-data="3229198"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18v3QUVEhA9B5Wek2a0lpA+P236H2VEFno="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:rRdqqLLMda3lqygG/JlqH7u6VhI=
Content-Language: en-US
In-Reply-To: <20230524124206.ed6cf5e938d3f07c5dd02bf6@gmail.com>
 by: Paul - Wed, 24 May 2023 19:41 UTC

On 5/24/2023 7:42 AM, pinnerite wrote:
> I need to recover a virtual Windows 10 from my backup machine.
>
> The work machine's folder to receive it is alan@albury
> The backup machine folder currently holding it is alan@churchill
>
> I had ssh'd into churchill from albury.
> From the source directory I entered the copy string:
>
> alan@churchill:/home/backup/alan/VirtualBox_VMs$ scp -r ./"Windows 10-x64" alan@albury.
>
> It started "doing something", ran for quite a while and the prompt reapeared.
>
> BUT I am blowed if I can see the copied directory!
>
> What am I doing wrong?
>
>

# Local to remote

scp robnet.htm pi@192.168.1.101:/home/pi/robnet.htm

# Remote to local

scp pi@192.168.1.101:/home/pi/robnet.htm robnet.htm

Notice that the usage of an IP address, takes care of the
fact the user does not have their own domain registered with DNS.

How does scp know what "albury" and "churchill" are ?

What namespace is that ? Is there some nameserver which knows
"albury" to be a fully qualified name ?

Does this work ? This checks DNS, and maybe it consults /etc/hosts (but maybe not).

nslookup albury

nslookup churchill

One of the checks some softwares do, is they do reverse
lookup, and verify that both name to IP and IP to name, are consistent.
An /etc/hosts resolution, fails such tests, and reverse lookup is a
way of checking that the domain is an "official registered DNS one".

A FQDN (fully qualified domain name) might play a part in
precise delivery of goods. Turn on some verbose-ness so
you can get more feedback.

scp -vvv robnet.htm pi@192.168.1.101:/home/pi/robnet.htm

"-v Verbose mode. Causes scp and ssh(1) to print debugging messages
about their progress. This is helpful in debugging
connection, authentication, and configuration problems."

Commands also return an error code as a number ("errno"), which can
be displayed if you use the correct command, *immediately*
after a failed command.

echo $?

For example, here I am displaying the errno from my failed "foobar" attempt.
If all had gone well, the errno == 0. Other values indicate a problem.

me@home:/home/me $ foobar

foobar: command not found

me@home:/home/me $ echo $?

127

Then I look it up (it's a bash error), and verify the value.

https://linuxconfig.org/how-to-fix-bash-127-error-return-code

"Exit code 127 error status in Bash script"

"The 127 error code indicates “command not found”. This occurs
when any given command within your Bash script or on Bash
command line is not found in any of the paths defined by
PATH system environment variable."

That's just to show that I really got the errno I was expecting :-)

*******

You can check the manual page for scp, to see what errno values it uses.
Well, maybe not.

"EXIT STATUS
The scp utility exits 0 on success, and >0 if an error occurs." <=== Gee, thanks.

Paul

Re: Recovering a backup

<u4mf9j$39t0a$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6192&group=alt.os.linux.mint#6192

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: step...@be.here.now (stepore)
Newsgroups: alt.os.linux.mint
Subject: Re: Recovering a backup
Date: Wed, 24 May 2023 18:57:07 -0700
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <u4mf9j$39t0a$1@dont-email.me>
References: <20230524124206.ed6cf5e938d3f07c5dd02bf6@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 25 May 2023 01:57:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d3b60cf9f3667b0329cfbc8d657d29ac";
logging-data="3470346"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+x/V8CW8/552jfguEYr/bX"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Cancel-Lock: sha1:9t5CVNWPGFeMQ86c4FNZXadVNCU=
In-Reply-To: <20230524124206.ed6cf5e938d3f07c5dd02bf6@gmail.com>
Content-Language: en-US
 by: stepore - Thu, 25 May 2023 01:57 UTC

On 5/24/23 04:42, pinnerite wrote:
> What am I doing wrong?
>

So many things.
Not sure where to begin.

Re: Recovering a backup

<slrnu6ublg.t5.dan@djph.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6193&group=alt.os.linux.mint#6193

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dan...@djph.net (Dan Purgert)
Newsgroups: alt.os.linux.mint
Subject: Re: Recovering a backup
Date: Thu, 25 May 2023 09:46:25 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <slrnu6ublg.t5.dan@djph.net>
References: <20230524124206.ed6cf5e938d3f07c5dd02bf6@gmail.com>
Injection-Date: Thu, 25 May 2023 09:46:25 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="50a5c99d9ea0d964371fdc5dab5ef58b";
logging-data="3607251"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19LjJvsI7ksQkQ5gb2/rDuqMbyCRwdTVeg="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:XA2XCwbtVZb1OVOeSch80QZARWA=
 by: Dan Purgert - Thu, 25 May 2023 09:46 UTC

On 2023-05-24, pinnerite wrote:
> I need to recover a virtual Windows 10 from my backup machine.
> [...]
> alan@churchill:/home/backup/alan/VirtualBox_VMs$ scp -r ./"Windows
> 10-x64" alan@albury.
> [...]
> What am I doing wrong?

Did you literally only write "scp -r Win10_x64 alan@albury"?

Or is that a typo here on Usenet, and the actual command was "scp -r
Win10_x64 alan@albury:" ?

The trailing colon is critical to indicating a remote host. If you
forgot it, scp will have just created a new directory
"/home/backup/alan/Vbox_VM/alan@albury".

--
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860

Re: Recovering a backup

<20230526101852.507d3d0fe9f121271a075493@gmail.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6194&group=alt.os.linux.mint#6194

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pinner...@gmail.com (pinnerite)
Newsgroups: alt.os.linux.mint
Subject: Re: Recovering a backup
Date: Fri, 26 May 2023 10:18:52 +0100
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <20230526101852.507d3d0fe9f121271a075493@gmail.com>
References: <20230524124206.ed6cf5e938d3f07c5dd02bf6@gmail.com>
<u4mf9j$39t0a$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="3ed852aab7a391c023c585f2b600791c";
logging-data="4143113"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19zvs6gIW4dbIEXxjwSzBnTobjmSMoV0Qs="
Cancel-Lock: sha1:C1sG57kiU0BE1jifSb+PidR0uHo=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu)
 by: pinnerite - Fri, 26 May 2023 09:18 UTC

On Wed, 24 May 2023 18:57:07 -0700
stepore <stepore@be.here.now> wrote:

> On 5/24/23 04:42, pinnerite wrote:
> > What am I doing wrong?
> >
>
> So many things.
> Not sure where to begin.
>

Make a stab at it. I'll wait.

--
Mint 21.1, kernel 5.15.0-72-generic, Cinnamon 5.6.8
running on an AMD Phenom II X4 Black edition processor with 16GB of DRAM.

Re: Recovering a backup

<20230526102728.870bde35229672d2fa8f87ab@gmail.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6195&group=alt.os.linux.mint#6195

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pinner...@gmail.com (pinnerite)
Newsgroups: alt.os.linux.mint
Subject: Re: Recovering a backup
Date: Fri, 26 May 2023 10:27:28 +0100
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <20230526102728.870bde35229672d2fa8f87ab@gmail.com>
References: <20230524124206.ed6cf5e938d3f07c5dd02bf6@gmail.com>
<slrnu6ublg.t5.dan@djph.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="3ed852aab7a391c023c585f2b600791c";
logging-data="4143113"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19uUvM47tKDlp2z9KfC5YFGYPvmXTNtUxg="
Cancel-Lock: sha1:3F5ybKcGjwJP6UblU0ykTDnTd5o=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu)
 by: pinnerite - Fri, 26 May 2023 09:27 UTC

On Thu, 25 May 2023 09:46:25 -0000 (UTC)
Dan Purgert <dan@djph.net> wrote:

> On 2023-05-24, pinnerite wrote:
> > I need to recover a virtual Windows 10 from my backup machine.
> > [...]
> > alan@churchill:/home/backup/alan/VirtualBox_VMs$ scp -r ./"Windows
> > 10-x64" alan@albury.
> > [...]
> > What am I doing wrong?
>
> Did you literally only write "scp -r Win10_x64 alan@albury"?
>
> Or is that a typo here on Usenet, and the actual command was "scp -r
> Win10_x64 alan@albury:" ?
>
> The trailing colon is critical to indicating a remote host. If you
> forgot it, scp will have just created a new directory
> "/home/backup/alan/Vbox_VM/alan@albury".
>

Ah! That is what happened. I got round it by moving the backup drive to the target machine, booting on a flash drive and cp'ing. Sledgehammer ,I know.

Thank you, Alan

--
Mint 21.1, kernel 5.15.0-72-generic, Cinnamon 5.6.8
running on an AMD Phenom II X4 Black edition processor with 16GB of DRAM.

Re: Recovering a backup

<u4q1qv$3usra$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6196&group=alt.os.linux.mint#6196

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nos...@needed.invalid (Paul)
Newsgroups: alt.os.linux.mint
Subject: Re: Recovering a backup
Date: Fri, 26 May 2023 06:32:00 -0400
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <u4q1qv$3usra$2@dont-email.me>
References: <20230524124206.ed6cf5e938d3f07c5dd02bf6@gmail.com>
<slrnu6ublg.t5.dan@djph.net>
<20230526102728.870bde35229672d2fa8f87ab@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 26 May 2023 10:31:59 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ebf9230a953d70aa9c2fe73eed5a9cfa";
logging-data="4158314"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5FH8pgo3fztcUKjNDYcs86Lv9XxkBJFM="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:4zf5OJ/+aJE6T4TkSUJAz376jFY=
Content-Language: en-US
In-Reply-To: <20230526102728.870bde35229672d2fa8f87ab@gmail.com>
 by: Paul - Fri, 26 May 2023 10:32 UTC

On 5/26/2023 5:27 AM, pinnerite wrote:
> On Thu, 25 May 2023 09:46:25 -0000 (UTC)
> Dan Purgert <dan@djph.net> wrote:
>
>> On 2023-05-24, pinnerite wrote:
>>> I need to recover a virtual Windows 10 from my backup machine.
>>> [...]
>>> alan@churchill:/home/backup/alan/VirtualBox_VMs$ scp -r ./"Windows
>>> 10-x64" alan@albury.
>>> [...]
>>> What am I doing wrong?
>>
>> Did you literally only write "scp -r Win10_x64 alan@albury"?
>>
>> Or is that a typo here on Usenet, and the actual command was "scp -r
>> Win10_x64 alan@albury:" ?
>>
>> The trailing colon is critical to indicating a remote host. If you
>> forgot it, scp will have just created a new directory
>> "/home/backup/alan/Vbox_VM/alan@albury".
>>
>
> Ah! That is what happened. I got round it by moving the backup drive to the target machine, booting on a flash drive and cp'ing. Sledgehammer ,I know.
>
> Thank you, Alan

Does that mean you inadvertently made a backup ?

The luck of some people.

Paul

Re: Recovering a backup

<20230526214447.27bc1ce3b9d6025fa808b208@gmail.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6197&group=alt.os.linux.mint#6197

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pinner...@gmail.com (pinnerite)
Newsgroups: alt.os.linux.mint
Subject: Re: Recovering a backup
Date: Fri, 26 May 2023 21:44:47 +0100
Organization: A noiseless patient Spider
Lines: 55
Message-ID: <20230526214447.27bc1ce3b9d6025fa808b208@gmail.com>
References: <20230524124206.ed6cf5e938d3f07c5dd02bf6@gmail.com>
<slrnu6ublg.t5.dan@djph.net>
<20230526102728.870bde35229672d2fa8f87ab@gmail.com>
<u4q1qv$3usra$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="3ed852aab7a391c023c585f2b600791c";
logging-data="103269"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX187ydIz/1x9Xiq8R1KvmwrvxwOrzk/cQJI="
Cancel-Lock: sha1:nAkcu1jn4EDaPiovXMSfXjkzp5A=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu)
 by: pinnerite - Fri, 26 May 2023 20:44 UTC

On Fri, 26 May 2023 06:32:00 -0400
Paul <nospam@needed.invalid> wrote:

> On 5/26/2023 5:27 AM, pinnerite wrote:
> > On Thu, 25 May 2023 09:46:25 -0000 (UTC)
> > Dan Purgert <dan@djph.net> wrote:
> >
> >> On 2023-05-24, pinnerite wrote:
> >>> I need to recover a virtual Windows 10 from my backup machine.
> >>> [...]
> >>> alan@churchill:/home/backup/alan/VirtualBox_VMs$ scp -r ./"Windows
> >>> 10-x64" alan@albury.
> >>> [...]
> >>> What am I doing wrong?
> >>
> >> Did you literally only write "scp -r Win10_x64 alan@albury"?
> >>
> >> Or is that a typo here on Usenet, and the actual command was "scp -r
> >> Win10_x64 alan@albury:" ?
> >>
> >> The trailing colon is critical to indicating a remote host. If you
> >> forgot it, scp will have just created a new directory
> >> "/home/backup/alan/Vbox_VM/alan@albury".
> >>
> >
> > Ah! That is what happened. I got round it by moving the backup drive to the target machine, booting on a flash drive and cp'ing. Sledgehammer ,I know.
> >
> > Thank you, Alan
>
> Does that mean you inadvertently made a backup ?
>
> The luck of some people.
>
> Paul

Yawn, I guess I need to explain. Just before the millenium I feared that the extended break might give local theives to break in and steal our equipment. It had happene to my adjacent neighbour.

My solution was to buy a second hard drive for every machine and take a clone, keeping the drives offsite (at home).

I kept up the habit even though I no longer have staff. Periodically I take a clone of my main machine.
Until two years ago i had a second machine to which I would take backups via rsync across the LAN.
However, two years ago I moved home and had to mothball the second machine until I was completely settled. That happened last week and I have backed up twice since then.

However occasionally I will need to write back one or more files from the second machine thatv has neither monitor nor keyboard. (It did have two years ago) I no longer have the desk space, so it is ssh and scp.

Is that clear?

Regards, Alan

--
Mint 21.1, kernel 5.15.0-72-generic, Cinnamon 5.6.8
running on an AMD Phenom II X4 Black edition processor with 16GB of DRAM.

Re: Recovering a backup

<u4renm$49c1$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6198&group=alt.os.linux.mint#6198

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nos...@needed.invalid (Paul)
Newsgroups: alt.os.linux.mint
Subject: Re: Recovering a backup
Date: Fri, 26 May 2023 19:18:13 -0400
Organization: A noiseless patient Spider
Lines: 93
Message-ID: <u4renm$49c1$1@dont-email.me>
References: <20230524124206.ed6cf5e938d3f07c5dd02bf6@gmail.com>
<slrnu6ublg.t5.dan@djph.net>
<20230526102728.870bde35229672d2fa8f87ab@gmail.com>
<u4q1qv$3usra$2@dont-email.me>
<20230526214447.27bc1ce3b9d6025fa808b208@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 26 May 2023 23:18:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a60a129247d59cac3241d0f2daa37781";
logging-data="140673"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19KBV7F+4HRWJYNqNeCovAL8wTtawVACF8="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:RKWjAJX9MqSvVfAYtb62m1ou3Hk=
In-Reply-To: <20230526214447.27bc1ce3b9d6025fa808b208@gmail.com>
Content-Language: en-US
 by: Paul - Fri, 26 May 2023 23:18 UTC

On 5/26/2023 4:44 PM, pinnerite wrote:
> On Fri, 26 May 2023 06:32:00 -0400
> Paul <nospam@needed.invalid> wrote:
>
>> On 5/26/2023 5:27 AM, pinnerite wrote:
>>> On Thu, 25 May 2023 09:46:25 -0000 (UTC)
>>> Dan Purgert <dan@djph.net> wrote:
>>>
>>>> On 2023-05-24, pinnerite wrote:
>>>>> I need to recover a virtual Windows 10 from my backup machine.
>>>>> [...]
>>>>> alan@churchill:/home/backup/alan/VirtualBox_VMs$ scp -r ./"Windows
>>>>> 10-x64" alan@albury.
>>>>> [...]
>>>>> What am I doing wrong?
>>>>
>>>> Did you literally only write "scp -r Win10_x64 alan@albury"?
>>>>
>>>> Or is that a typo here on Usenet, and the actual command was "scp -r
>>>> Win10_x64 alan@albury:" ?
>>>>
>>>> The trailing colon is critical to indicating a remote host. If you
>>>> forgot it, scp will have just created a new directory
>>>> "/home/backup/alan/Vbox_VM/alan@albury".
>>>>
>>>
>>> Ah! That is what happened. I got round it by moving the backup drive to the target machine, booting on a flash drive and cp'ing. Sledgehammer ,I know.
>>>
>>> Thank you, Alan
>>
>> Does that mean you inadvertently made a backup ?
>>
>> The luck of some people.
>>
>> Paul
>
> Yawn, I guess I need to explain. Just before the millenium I feared that the extended break might give local theives to break in and steal our equipment. It had happene to my adjacent neighbour.
>
> My solution was to buy a second hard drive for every machine and take a clone, keeping the drives offsite (at home).
>
> I kept up the habit even though I no longer have staff. Periodically I take a clone of my main machine.
> Until two years ago i had a second machine to which I would take backups via rsync across the LAN.
> However, two years ago I moved home and had to mothball the second machine until I was completely settled. That happened last week and I have backed up twice since then.
>
> However occasionally I will need to write back one or more files from the second machine thatv has neither monitor nor keyboard. (It did have two years ago) I no longer have the desk space, so it is ssh and scp.
>
> Is that clear?
>
> Regards, Alan

I use RS232 at 57.6 Kbaud between computers, when I want
to have a terminal-like session. The machines have a null modem
cable between them.

I'm lucky, that without checking for the presence of such things,
both machines have 2x5 header for RS232. They no longer bother with
the archaic DB-9 or whatever, on the back of the computer. This
leaves it "up to the user to fashion their own cable".

Several releases ago, someone "perfected" SAMBA file sharing, to the
extent that if you did Properties on something in your File Manager,
they had placed a Sharing tab, and you could enable Sharing (the sharing
dialog did all the work.

But this seemed to be broken on purpose on distributions after that. Still
this gives another means to transfer files. Linux distros can run
Client SAMBA or Server SAMBA, and can push or pull files. SAMBA has
rudimentary crypto on it (only 128 bit), and I would not really
be running such a thing on the Internet. But it's OK inside a
computer room.

You could also be running NFS, but I haven't set up a thing like
that in a lot of years.

If the machine is headless, there may be ways of setting up
connections to it, using junk you already have. For example, back
when I was working, I carried an "RS232 bag" between employers,
because employers never had RS232 stuff when I needed it. And then
when I didn't have a job any more, that bag provides the adapters
for my interconnect between machines. RS232 is absolute rubbish when
it comes to connector types, and to get across the room costs
a lot of money when the job really should have been so simple.
(Half the adapters seem to be gender changers.)

When the serial port is on the SuperIO chip (a "well known" port unlike
USB ones), the Linux boot line, the one with "quiet splash" on it,
you can add this

console=ttyS0,57600n8

and that's all you need to make the RS232 work for that session.

Paul

Re: Recovering a backup

<u4s2r8$a6jl$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6199&group=alt.os.linux.mint#6199

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: step...@be.here.now (stepore)
Newsgroups: alt.os.linux.mint
Subject: Re: Recovering a backup
Date: Fri, 26 May 2023 22:01:27 -0700
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <u4s2r8$a6jl$1@dont-email.me>
References: <20230524124206.ed6cf5e938d3f07c5dd02bf6@gmail.com>
<u4mf9j$39t0a$1@dont-email.me>
<20230526101852.507d3d0fe9f121271a075493@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 27 May 2023 05:01:28 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="350e2adab3e7cd0c821fef10787f81b6";
logging-data="334453"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19luvgn5u0psMESWTSHSlo+"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Cancel-Lock: sha1:+NOL3A7BfX0Ke+2UGx/uCrb0XT0=
Content-Language: en-US
In-Reply-To: <20230526101852.507d3d0fe9f121271a075493@gmail.com>
 by: stepore - Sat, 27 May 2023 05:01 UTC

On 5/26/23 02:18, pinnerite wrote:
> Make a stab at it. I'll wait.
>

Paul gave you some suggestions to start.

Re: Recovering a backup

<20230529203344.064ed99fb3579ce752f1ce0f@gmail.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6202&group=alt.os.linux.mint#6202

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pinner...@gmail.com (pinnerite)
Newsgroups: alt.os.linux.mint
Subject: Re: Recovering a backup
Date: Mon, 29 May 2023 20:33:44 +0100
Organization: A noiseless patient Spider
Lines: 106
Message-ID: <20230529203344.064ed99fb3579ce752f1ce0f@gmail.com>
References: <20230524124206.ed6cf5e938d3f07c5dd02bf6@gmail.com>
<slrnu6ublg.t5.dan@djph.net>
<20230526102728.870bde35229672d2fa8f87ab@gmail.com>
<u4q1qv$3usra$2@dont-email.me>
<20230526214447.27bc1ce3b9d6025fa808b208@gmail.com>
<u4renm$49c1$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="7b59798a3407ecbef696b61abe0e153d";
logging-data="1690668"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/h+LIn/d9ByQoYEzcbxxYE2X247y7gE0M="
Cancel-Lock: sha1:w9PscxPx9Ss8mktQnf6xbX0h7rk=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu)
 by: pinnerite - Mon, 29 May 2023 19:33 UTC

On Fri, 26 May 2023 19:18:13 -0400
Paul <nospam@needed.invalid> wrote:

> On 5/26/2023 4:44 PM, pinnerite wrote:
> > On Fri, 26 May 2023 06:32:00 -0400
> > Paul <nospam@needed.invalid> wrote:
> >
> >> On 5/26/2023 5:27 AM, pinnerite wrote:
> >>> On Thu, 25 May 2023 09:46:25 -0000 (UTC)
> >>> Dan Purgert <dan@djph.net> wrote:
> >>>
> >>>> On 2023-05-24, pinnerite wrote:
> >>>>> I need to recover a virtual Windows 10 from my backup machine.
> >>>>> [...]
> >>>>> alan@churchill:/home/backup/alan/VirtualBox_VMs$ scp -r ./"Windows
> >>>>> 10-x64" alan@albury.
> >>>>> [...]
> >>>>> What am I doing wrong?
> >>>>
> >>>> Did you literally only write "scp -r Win10_x64 alan@albury"?
> >>>>
> >>>> Or is that a typo here on Usenet, and the actual command was "scp -r
> >>>> Win10_x64 alan@albury:" ?
> >>>>
> >>>> The trailing colon is critical to indicating a remote host. If you
> >>>> forgot it, scp will have just created a new directory
> >>>> "/home/backup/alan/Vbox_VM/alan@albury".
> >>>>
> >>>
> >>> Ah! That is what happened. I got round it by moving the backup drive to the target machine, booting on a flash drive and cp'ing. Sledgehammer ,I know.
> >>>
> >>> Thank you, Alan
> >>
> >> Does that mean you inadvertently made a backup ?
> >>
> >> The luck of some people.
> >>
> >> Paul
> >
> > Yawn, I guess I need to explain. Just before the millenium I feared that the extended break might give local theives to break in and steal our equipment. It had happene to my adjacent neighbour.
> >
> > My solution was to buy a second hard drive for every machine and take a clone, keeping the drives offsite (at home).
> >
> > I kept up the habit even though I no longer have staff. Periodically I take a clone of my main machine.
> > Until two years ago i had a second machine to which I would take backups via rsync across the LAN.
> > However, two years ago I moved home and had to mothball the second machine until I was completely settled. That happened last week and I have backed up twice since then.
> >
> > However occasionally I will need to write back one or more files from the second machine thatv has neither monitor nor keyboard. (It did have two years ago) I no longer have the desk space, so it is ssh and scp.
> >
> > Is that clear?
> >
> > Regards, Alan
>
> I use RS232 at 57.6 Kbaud between computers, when I want
> to have a terminal-like session. The machines have a null modem
> cable between them.
>
> I'm lucky, that without checking for the presence of such things,
> both machines have 2x5 header for RS232. They no longer bother with
> the archaic DB-9 or whatever, on the back of the computer. This
> leaves it "up to the user to fashion their own cable".
>
> Several releases ago, someone "perfected" SAMBA file sharing, to the
> extent that if you did Properties on something in your File Manager,
> they had placed a Sharing tab, and you could enable Sharing (the sharing
> dialog did all the work.
>
> But this seemed to be broken on purpose on distributions after that. Still
> this gives another means to transfer files. Linux distros can run
> Client SAMBA or Server SAMBA, and can push or pull files. SAMBA has
> rudimentary crypto on it (only 128 bit), and I would not really
> be running such a thing on the Internet. But it's OK inside a
> computer room.
>
> You could also be running NFS, but I haven't set up a thing like
> that in a lot of years.
>
> If the machine is headless, there may be ways of setting up
> connections to it, using junk you already have. For example, back
> when I was working, I carried an "RS232 bag" between employers,
> because employers never had RS232 stuff when I needed it. And then
> when I didn't have a job any more, that bag provides the adapters
> for my interconnect between machines. RS232 is absolute rubbish when
> it comes to connector types, and to get across the room costs
> a lot of money when the job really should have been so simple.
> (Half the adapters seem to be gender changers.)
>
> When the serial port is on the SuperIO chip (a "well known" port unlike
> USB ones), the Linux boot line, the one with "quiet splash" on it,
> you can add this
>
> console=ttyS0,57600n8
>
> and that's all you need to make the RS232 work for that session.
>
> Paul

I am fixed now but I like sopund of SAMBA as I already use it on my main machine.

Alan

--
Mint 21.1, kernel 5.15.0-72-generic, Cinnamon 5.6.8
running on an AMD Phenom II X4 Black edition processor with 16GB of DRAM.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor