Is RCP the right thing to use? I could not find how to use it with password. I want basically from server1 to copy the file from \Server2\Daily to \Server2\Weekly. I want that every sunday my backup file is copied both in Daily and Weekly folder (each of them being cleaned per policy explained previously and with another schedule task), I do not want to FTP it twice. a Daily folder, a weekly folder, a monthly folder and a Yearly folder) Each backup interval is in a folder (i.e. Now I want to add a step to have a stronger backup policy on server2 (keep daily for 10 days, have a weekly for 5 weeks, a monthly for a year and keep the yearly forever). clean for files older than retention period push both generated file to a FTP server (total is 6GB) Run the duplicacy init command to initialize the remote storage and the backup respository. Compress the Webserver root folder to a tar.gz In duplicacy, the repository refers to the directory that you want to backup. When doing my daily backup, the script does the following : Server 1 has limited space, so I keep backups of both my MySQL database and Webserver file for 1 week only (daily backups). I did not find an easy way to copy a file from the client to the server with a simple function like sftptransfer(sourceFile(like c:\my document\hello world. Here is an example: duplicacy init -e -storage-name nachostorage -repository /home/curt/Photos photoBackup sftp:/ /curtnacho. I have a server 2 (running Win Server 2012), on that server some application are running and I have space for my backups. The situation is that: The SSH session is open and the SFTP session is open too, I can create a file and write in it from the client to the server with the integrated function of libssh. In duplicacy, the repository refers to the directory that you want to backup. To learning programming languages from scratch (and not only them).I have a server 1 (running Ubuntu), on this server, a website. One of them is Learn X in Y, a repository of concise documentation devoted You know, it exports cheat sheets from the best cheat sheet repositories, and If you are just start learning a new programming language, and you have noĭistinct queries for the moment, cheat.sh can be a good starting point too. internal::intro curl cht.sh/ go/func curl cht.sh/go/ :list $ cht.sh -shell cht.sh> python zip lists cht.sh> go http query cht.sh> js iterate list cht.sh/python> zip lists cht.sh/python> /go http query cht.sh/python> /js iterate list * programming languages cheat sheets are under: There is a nice comparison of the 3 mature Java libraries for SFTP: Commons VFS, SSHJ and JSch To sum up SSHJ has the clearest API and its the best out of them if you dont need other storages support provided by Commons VFS. * covers UNIX/Linux commands and programming languages * delivers cheat sheets in areas and growing * provides access to community driven cheat sheets repositories - self-documented - - queries from editor! - - instant answers - | for usage information | | zip lists _ | | real 0m0.075s | | $ curl cht.sh/:help | | $ vim prg.py | | $ time curl cht.sh/ | - TAB-completion - - interactive shell - - programming questions - | go/for go/func | | cht.sh> help | | Ask any question using | | $ cht.sh go/f | | $ cht.sh -shell | | $ cht.sh go zip lists | - queries with curl - - own optional client - - learn, learn, learn! - | $ curl cht.sh/tar~list | | | | language not leaving | | $ curl cht.sh/btrfs | | $ cht.sh tar~list | | Learn any* programming | | $ curl cheat.sh/ls | | $ cht.sh btrfs | | $ cht.sh lua/:learn | _| |_ _ _ _| |_ _| |_ \ \ The only cheat sheet you need Cheat.sh/~go $ curl cheat.sh/ internal::cht.shĬheat.sh looks for a specific set of clients in the userĪgent (see for this) to decide if it shouldĭeliver plain text rather than HTML.
0 Comments
Leave a Reply. |