Hello
I have a mail server that's nearly full, and another server doing nothing with a bigger disk.
Both servers are running FreeBSD 11.4.
I don't have enough empty space on the mail server to tar up users maildir folders.
Is there a way to somehow send entire folder structures down an ssh/sftp link from one to the other without taring them up first?
Also the only user that can ssh/sftp from one server to the other is my account. root and the other users are blocked so I need do it with an account different to the user that owns the files. Only public/private key authentication is supported if that makes a difference.
I can have some downtime to do this (dns changes will take time to propagate anyway) so it doesn't have to be done with the dovecot or postfix daemons running.
thanks
I have a mail server that's nearly full, and another server doing nothing with a bigger disk.
Both servers are running FreeBSD 11.4.
I don't have enough empty space on the mail server to tar up users maildir folders.
Is there a way to somehow send entire folder structures down an ssh/sftp link from one to the other without taring them up first?
Also the only user that can ssh/sftp from one server to the other is my account. root and the other users are blocked so I need do it with an account different to the user that owns the files. Only public/private key authentication is supported if that makes a difference.
I can have some downtime to do this (dns changes will take time to propagate anyway) so it doesn't have to be done with the dovecot or postfix daemons running.
thanks