Re: [lftp] push of new website, while retaining backup

2018-08-12 Thread Alexander Lukyanov
Renaming a directory should be the fastest operation here, use it if possible. вс, 12 авг. 2018, 20:30 John Kelly : > Hi, > I'm trying to use lftp to push my new angular app to my website from > gitlab, but i first want to take a copy of the current website. Logically > i'm trying to achieve the

[lftp] push of new website, while retaining backup

2018-08-12 Thread John Kelly
Hi, I'm trying to use lftp to push my new angular app to my website from gitlab, but i first want to take a copy of the current website. Logically i'm trying to achieve the following, trying to minimise downtime... a ) push to website-latest b) copy website-current to website-previous c) replace