-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zpaq over ssh? #34
Comments
It is possible to operate SMB over ssh to store data between two Windows machines The way I recommend to transfer a (large) backup between two workstations over the internet, with a speed of a few MB / s, is to store the .zpaq file locally, and then transfer it It's a practice I've been doing for years, it works There are various configurations for rsync Source PC: Windows Source PC: *nix Source PC: Windows Source PC: *nix I can give you instructions for each of these Recap: on the source PC you archive data with zpaqfranz locally (or mounted, for *nix) This is an example of Windows GETTING data from a *NIX server c:\cloud\thekey.rsa is the RSA key of the *nix PC stored in the Windows PC
|
Windows PUTTING (sending) backup to a *nix, over ssh Windows Nix The *nix (the backup machine) is (better choose numeric IP) In this case default port (22) The destination folder (on the *nix) is
|
*Nix (FreeBSD) putting to *Nix (via internet or LAN, ex. a Linux-based NAS) Source PC Destination "thing" (*nix) /home/mybackup/copia (destination folder)
I hope I didn't make any mistakes :) Then there is the version with zfs replicas, but I don't think they interest you |
It is quite common (in an enterprise environment) to have TWO different connections, one for internet use, one for backups. In the home environment, on the other hand, it is common to limit (with --bwlimit = something for example) the upload bandwidth in order not to excessively slow down the use of the internet surfing. In real-world scenario it is common to deal with (as in this example) 380GB taking the last day delta in about 3-5 minutes (at 2.40MB/s upload bandwidth, a cheap VDSL)
Of course the faster the internet connection, the better The "real world" example archive about 18 months of daily backups
|
In the attached file an example of 1-hour backup sended with ssh of a mid-sized fileserver Yesterday : ransom safe @ 1 hour interval
|
Thank you for the detailed answer! They are good solutions with what are available but
Wouldnt be easier and more efficient if zpaqfranz had an additional parameter or support destination folder paths like ftp://domain.com/folder or ssh://user@domain.com/folder ? |
"be easier": no, it is much harder It is possible to mount something (even Windows SMB share) over ssh |
It is much harder than expected (nothing is easy with Mahoney's code, afterall :)
become...
Definitely more difficult than expected, but I think feasible in the medium term. |
In other words zpaqfranz will be able to send, through a socket and then over IP, the data to a server (always working on a socket) which will rebuild the file (obviously better to tunnel on ssh, but it's trivial). Any ransom, or even an evil user, will not be able to overwrite the data already secured in the server, in any way. |
Thats greatt! Exactly what I am looking for =) Please make sure if the connection is disconnected I wont lose the existing zpaq archive =) |
You can find the very first pre-release here
|
Hello,
I could not find cloudpaq in your github, is there somewhere I can download
the latest version?
…On Sat, Oct 29, 2022 at 7:54 PM Franco Corbelli ***@***.***> wrote:
You can find the very first pre-release here
https://encode.su/threads/3961-Client-server-zpaq-is-it-worth-it?p=76772&viewfull=1#post76772
—
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACHVYOJX5SOKA2EX5KCJE3WFVJCTANCNFSM6AAAAAARD3FR4M>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
No, because the development focused on zfs refactoring and backup. The client-server version is suspended for now (much more difficult than expected), after however having demonstrated its feasibility |
Hi fcorbelli and HolyOne, Great OP question and super great and detailed replies, fcorbelli! I do have a reply to the original question by HolyOne, which is what can easily be done and what I do. First, on the local PC, mount all remote PCs with sshfs like the following examples: sshfs userA@remotehostA:/home/userA/ /mnt/remotehostA -o delay_connect -o reconnect -o user -o allow_other Make sure you have done a mount point: "mkdir /mnt/remotehostX" for all remotes. Then just test like: ls -la /mnt/remotehostA Then, the backup is as simple as this: zpaqfranz a remotehosts-A-to-D.zpaq /mnt/remotehostA /mnt/remotehostB /mnt/remotehostC /mnt/remotehostD That is, if you want to pack all remotes on a single local zpaq archive. zpaqfranz a remotehostA.zpaq /mnt/remotehostA Hope this makes sense as I find it very easy to do with sshfs and never fails! |
Thank you for your suggestion, I will include it in the official documentation. |
Update: developing underway |
I think it would change how backup is done! |
I'll try my best :-D |
zpaq-over-TCP project is a great idea!!! |
There are quite a few special cases in zpaq that make implementation difficult. What I will implement will be a service that is 100% immune to ransomware (obviously if the server is not compromised) |
Hello, first of all this is an awesome fork.
I am searching for a solution to create zpaq archive on my local PC containing the the folders on remote PCs. (I dont want to create archives on remote pcs and download them, since it would take long time and I cannot guarantee remote disk sizes)
Is there a way I can target a remote ssh/powershell directory with zpaqfranz ?
or is there a better suggested way for it?
Thanks
The text was updated successfully, but these errors were encountered: