Subj : backup for windows pc? To : August Abolins From : Jas Hud Date : Thu Sep 21 2023 23:21:33 To: August Abolins Re: backup for windows pc? By: August Abolins to Deon George on Thu Sep 21 2023 11:22 pm > From Newsgroup: micronet.comp > > Hello Deon George! > > ** On Friday 22.09.23 - 11:28, Deon George wrote to August Abolins: > > >> I tried restic -r sftp:user@server.com:/restic/archive > >> > >> ..and it complained: > >> > >> Fatal: Create repository at sftp:user@server.com:/restic/ > >> archive failed: cmd.Start: exec: "ssh": executable file not > >> found in %PATH%. > > DG> Right, you would need SSH as well if you wanted to pipe it through > DG> SSH/SFTP. > > So.. restic is not all-in-one and still relies on external > progs? > > > DG> I use an S3 target, ie : -r s3:http://minio:9000/bucket as my target, > DG> with environment variables containing the authentication credentials. > > S3 is Amazon's cloud space? > > > >> I tried the -o sftp.command="prog" parameter where prog is > >> putty.exe with full path to its location, but it claimed it was > >> not found. > > DG> Why putty? > > I dunno.. it just seemed like a good one to try and see if > restic could at least *find* it. > > > >> I had better luck with winscp: > >> winscp sftp://user@server.com:2222//enc/archive > > DG> Does winscp provide SFTP? (I dont use it, so dont know). You might be > DG> able to use -o sftp.command=winscp ? > > Not sure if winscp can be utilized in place of the SSH exec > that restic is looking for. I wish there were more examples > of usage out there. winscp.com /script=script.txt contents of script.txt -- begin -- open sftp://USERNAME:PASSWORD@DOMAIN.COM/MIDGETPORN/INCOMING/ -hostkey="ssh-ed25519 255 1234SDFSFS4FS4S(THIS IS YOUR HASH)DAF4AS4DF4SDF4F4DSF4SDF5678" # Your command 1 # Your command 2 put c:\temp\MIDGITS.* # Execute the script using a command like: # "C:\WinSCP\WinSCP.exe" /log="C:\writable\path\to\log\WinSCP.log" /ini=nul /script="C:\path\to\script\script.txt" exit https://pastebin.com/0K8d2tHj --- Synchronet 3.19b-Win32 NewsLink 1.113 * bbses.info - http://bbses.info - telnet://bbses.info * Origin: capitolcityonline.net * Telnet/SSH:2022/HTTP (618:250/1) .