Skip to main content Skip to page footer

Lokales Projekt auf remote Server übertragen per rsync

rsync -avze ssh --exclude=/typo3temp/* lokales_verzeichnis ssh-user@remote-server:pfad/zum/zielverzeichnis

Durch diesen Befehl wird das lokale Verzeichnis in den Order zielverzeichnis/lokales_verzeichnis/ kopiert. Beispiel:

rsync -avze ssh --exclude=/typo3temp/* projekt1 ssh-username@serverx.net:typo3cms/

"Mini-Deployment":

rsync -avze ssh --exclude=/.ddev --exclude=/.vscode --exclude=/var/cache/* --exclude=/public/typo3temp/* --exlude=/public/fileadmin/* --exclude=/public/typo3conf/AdditionalConfiguration.php ./ benutzername@server:pfad/zum/zielverzeichnis/