Consultoría en Herramientas de Gestión de Documentación

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Open in app Sign up Sign in

Search Write

Sync Two Nextcloud Servers from


Two Different Sites: A
Comprehensive Guide
Shinedezignvimal · Follow
2 min read · Aug 21

Syncing two Nextcloud Multiple Servers from two different sites involves
setting up server-to-server federation, which allows the two instances to
share files, folders, and other data. Here’s a step-by-step guide on how to
achieve this:

Requirements:
• Two Nextcloud instances, each installed at a different site.

• Publicly accessible URLs for both instances.

• Network connectivity between the two sites (internet access or a direct


connection).

Steps to Sync Two Nextcloud Servers:


1 Enable Federation App: On both Nextcloud instances, ensure that the
“Federation” app is enabled. This app allows the servers to communicate and
share data.

2 Generate Trusted Servers Token: On the first Nextcloud instance (Site A):

• Log in as an admin.

• Go to “Settings” (gear icon) > “Administration” > “Basic settings.”

• Scroll down to the “Server Trust” section and click “Add trusted server.”

• Enter the URL of the second Nextcloud instance (Site B) and generate a
token. Copy the token for use in the next step.

4 Configure Trusted Server on Second Instance (Site B): On the second


Nextcloud instance (Site B):

• Log in as an admin.

• Go to “Settings” (gear icon) > “Administration” > “Basic settings.”

• Scroll down to the “Server Trust” section and click “Add trusted server.”

• Enter the URL of the first Nextcloud instance (Site A) and paste the token
generated in Step 2.

5 Initiate Sharing: On one of the instances (let’s say Site A):

• Log in as a user.

• Navigate to the file or folder you want to share with the other instance
(Site B).

• Click on the “Share” button and enter the email address of a user on the
second instance (Site B).

• Choose the appropriate permissions (read-only, read/write, etc.).

• Click “Share.”

6 Accept Sharing Invitation: On the other instance (Site B):

• Log in as the user who received the sharing invitation.

• You should see a notification or an incoming share invitation. Accept the


share.

7 Syncing Data: Once the share is accepted, the data will be synchronized
between the two instances. Changes made on one instance will be reflected
on the other. Note that synchronization might take a bit of time depending
on the size of the data and the available network bandwidth.

8 Monitor and Manage: You can monitor the status of server-to-server


connections and shared files through the Nextcloud interface. Any updates
or changes will be propagated between the two instances.

9 Repeat for Other Shares: You can repeat the process to share additional
files and folders between the two instances.

Remember that this setup requires both instances to have reliable internet
connectivity or a dedicated network connection between the sites. Also,
ensure that both instances are kept up to date and properly secured to
maintain the integrity and privacy of shared data.
Written by Shinedezignvimal Follow

1 Follower

More from Shinedezignvimal

Shinedezignvimal Shinedezignvimal

How to use Alipay as a foreigner What is the network limit for


(Both in & outside China) Amazon Lightsail?
As a foreigner, you can use Alipay both inside The network limits for Amazon Lightsail vary
and outside of China. Here’s how you can us… depending on the specific instance size and…

3 min read · Jul 14 3 min read · Jul 6


Shinedezignvimal Shinedezignvimal

What is Support PIN How to Easily Transfer an Existing


A Support PIN, also known as a Support Domain from Gandi to Godaddy
Personal Identification Number, is a security… To transfer an existing domain from Gandi to
GoDaddy, follow these steps:

3 min read · Jul 10 2 min read · Aug 2

See all from Shinedezignvimal

Recommended from Medium

Mohammad Faisal in Level Up Coding Paul Rose

Awesome Terminal Applications I Found A Very Profitable AI Side


Sharpen the axe before you cut the wood. Hustle
And it’s perfect for beginners

· 4 min read · Nov 12 6 min read · Oct 18

2.7K 20 10.9K 202

Lists

Staff Picks Stories to Help You Level-Up


516 stories · 469 saves at Work
19 stories · 322 saves
Self-Improvement 101 Productivity 101
20 stories · 947 saves 20 stories · 864 saves

Vaishnav Manoj in DataX Journal The Pareto Investor

JSON is incredibly slow: Here’s NASA Just Shut Down Quantum


What’s Faster! Computer After Something Insan…
Unlocking the Need for Speed: Optimizing Houston, We Have a Problem!
JSON Performance for Lightning-Fast Apps…

16 min read · Sep 28 · 3 min read · Nov 9

10K 121 7.1K 142

AL Anany Carlos Arguelles

The ChatGPT Hype Is Over — Now My favorite coding question to give


Watch How Google Will Kill… candidates
It never happens instantly. The business A coding question, from the viewpoint of an
game is longer than you know. Google/Amazon/Microsoft interviewer

· 6 min read · Sep 1 11 min read · Nov 12

19.4K 599 3.8K 47


See more recommendations

You might also like