G
G
giggigi2012-07-25 14:53:23
linux
giggigi, 2012-07-25 14:53:23

What is the best way to transfer files from a local server to a remote one?

Hello!

Now in our company development is not the best way - the editor is connected via SFTP to a remote server and all changes are made immediately there. Everything would be fine, but the project has recently been launched and such a scheme naturally does not fit.

We put a local server in the office, set up and raised a local copy of the project there, and we are going to move on to development and testing on it, and from it to upload updates to the public, to a remote server.

The question is: how and what is the best way to upload changes to a remote server?
I would like:
So that the tool is not as a demon, but works on startup.
Have the ability to block the upload of certain files by mask (for example, *.jpg, *.json) Easy
setup

Version control systems are probably not needed in this case for two reasons:
1. It is planned to introduce it locally
2. This will require training and training of several people, which takes a lot of time and is currently not suitable due to lack of this very time.

Thanks in advance to everyone for your response.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
A
alienrom, 2012-07-25
@gigigi

rsync over ssh

A
Anatoly, 2012-07-25
@taliban

1. It is planned to introduce it locally
2. This will require training and training of several people, which takes a lot of time and is currently not suitable due to the lack of this very time.
1. enter where you want, nothing prevents you from pulling changes from the local repository to the server
2. for starters, just svn commit and svn update is enough not to waste time, the rest can be gradually learned. there are GUI version control systems, there are built-in IDE.
There would be a desire. Although if it's easier for you to spend time configuring what version control systems can handle, the tips above are better than educating a couple of people please. Remember this comment when you upload a file with an error on top and start doing many more gestures on a live server instead of one simple command. =)

4
4dmonster, 2012-07-25
@4dmonster

maybe then:
rsync with a daemon on the target server or
rsync over ssh

S
strib, 2012-07-25
@strib

1. What prevents you from raising Git local?
2. Time? Try to calculate if you can save more by training everyone you need in a couple of days and then everything will work. All the same, version control systems have never been Rocket Science.

A
Alexey Varfolomeev, 2012-07-26
@jellyfish

in my opinion, it is quite natural to use dvcs - mercurial or git
1) the same as "locally", only the history of changes will be in several places
2) for most it is enough to show / remember 3-5 commands - this is not even a matter of hours, but minutes .

L
LuciferOverLondon, 2012-07-28
@LuciferOverLondon

A version control system is needed because life is a thousand times better with it than without it.
This is not immediately obvious, but it becomes clear when it helps a couple of times with a large fakup, and when there will be more than one developer.
Don't listen to anything about SVN. Twenty-first century in the yard, learning SVN now is insanity.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question