Monday, September 02, 2024

Re: Dump BU with 2G of space at server

On Mon, Sep 02, 2024 at 06:46:53PM -0700, latinfo@vcn.bc.ca wrote:
> Hello misc
>
> I have one VM server at vultr, they have a tool to keep snapshots which
> works correctly.
>
> My point is because that server has only 2G of free space. What should be
> the syntax for $ ssh my_laptop client dump -0 /my_/home/BU.dmp please.I
> was not able to find the ssh-dump syntax, sorry.
>
> Is it posible to do a full Bu dump -0 with this space? without the option -f
>
> Thanks
>

Not sure exactly what you mean with the space issue, but in any case:

On the machine receiving the dump:

ssh <machine_being_backed_up> dump -0af - <what_to_dump> > backup.dmp

Of course that the user that you login as, needs to have read
permissions for the files/devices being read. To avoid allowing ssh
logins as root, you might want to add a user to the 'operator' group and
then ssh as that user.

If you are doing this over the network, you might want to create a
script on the server side, to pipe the dump through gzip, to save some
bandwidth. Or, better yet, just use rsync (more specifically its -z
flag).

--

No comments:

Post a Comment