Synchronizing home directory to your laptop ("offline files"): Difference between revisions

From IThelp
(temporary version - translation in progress)
No edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{BRA}}
 
{{WD}}
{{WD}}
{{Under construction}}


==Windows==
==Windows==
Line 13: Line 12:
The mirrored data are available under "My Documents" or "O:\" as usual. The mirrored data are physically stored  in a hidden folder on the D:-drive of the laptop.
The mirrored data are available under "My Documents" or "O:\" as usual. The mirrored data are physically stored  in a hidden folder on the D:-drive of the laptop.


*****
===Laptops without "offline files"===
 
 
=== Bærbare uten ”offline files” ===
 
Normalt bør maskiner med offline files kun brukes av én person. Enkelte bærbare PC-er har slått av offline files-funksjonen. Dette er typisk utlåns-/fellesmaskiner som  brukes av mange personer.
 
Du kan sjekke en PC har synkronisering ved å se om ikonet til My Documents har en liten firkant med to blå piler på seg. Alle ikoner som er merket med disse blå pilene representerer data (mapper eller filer) som synkroniseres.
 
[[Fil:My Documents.png]]
 
 
 
Om du lagrer data på en bærbar datamaskin som ikke har "Offline Files" må du selv sørge for å ta sikkerhetskopi!
 
 
===  Synkronisering ===
 
 
 
[[Fil:Synkronisering.png]]
 
 
 


=== Automatisk synkronisering i UiB-nett ===
Laptop PCs with offline files should normally be used by one person only. Some Laptops are used by several, eg communal PCs lended by ta department to several users. For such computers, the offline files feature can be disabled.


Overføringen av data til og fra "offline files" skjer ved en synkronisering. Denne prosessen starter normalt når du logger inn og ut på den bærbare PC-en når den er tilknyttet UiB-nettverket.
You can assess whether the offline files feature is active by checking the "My Documents" icon. If it has a small square with two arrows superimposed, offline files is active. All icons thus marked represent data (folders or files) which are synchronized.


Synkronisering sørger for at oppdaterte filer blir kopiert over nettverket, slik at hjemmeområdet er à jour med lokale data på den bærbare. En slipper altså å kopiere filene manuelt!
[[File:My Documents.png]]


For at synkroniseringen skal virke må den bærbare PC-en være tilknyttet UiB-nettverket, enten direkte med kabel, eller gjennom Virtual Private Network (VPN) -kopling mot UIB.
When you store files on a laptop without "offline files", you must make sure to always have a backup copy of your data!


===Synchronization===




=== Manuell synkronisering over VPN ===
[[File:Synkronisering.png]]


Synkronisering skjer '''ikke''' automatisk når PC-en er utenfor UiB-nettverket, f.eks. når du har den hjemme eller på reise.


Du kan imidlertid starte synkroniseringen manuelt slik:
===Automatic synchronization in the UiB network===


# Kople maskinen til nettverket der du er. (Husk at nettverk med kabel som regel er raskere enn trådløst nettverk, så bruk kabel hvis det er tilgjengelig!)
The mirroring of data to and from "offline files" is done by a process of synchronization. This process normally starts when you are loggen in and as you log out of the lapyop when it is connected to tue UiB network.
# Kople til UiB med VPN (se [https://wikihost.uib.no/ithjelp/index.php/Vpn egen veiledning]).
# Høyreklikk ’My Documents’
# Velg ’Synchronize’


[[Fil:ManSync.png]]
The synchronization copies all updated files across the network, making your home directory on the server an updated mirror of the local home directory on your laptop. You don't have to compy the files manually!


5.Følg med på evt. feilmeldinger.
For the synchronization to work, your laptop must be connected to the UiB network either directly with a wire or through a Virtual Private Network (VPN) connection to UIB.




=== Noen tips for bærbare datamaskiner ===
=== Manual synchronization over VPN ===


Synchronization is '''not''' performed automatically when your PC is outside the UiB network, eg in your home or on travel.


* Eventuelle andre brukere som logger på din bærbare PC, får kopiert hjemmeområdet sitt til maskinen, samt opprettet egen brukerprofil. Merk at dette kan fylle opp D-disken på maskinen da synkroniserte data blir lagret skjult på D-disken.
You can, however, perform the synchronization manually by:
* Synkroniseringen vil nødvendigvis ta tid. Under forberedelse og gjennomføring av synkroniseringen kan PC-en være "opptatt" slik at man ikke får gjort andre ting. Dette kan noen ganger være ubeleilig. Her er noen tips for å redusere forsinkelsen ved synkronisering:
** Hvis maskinen er koblet til et nettverk utenfor UiB, vil den bruke en del til på å prøve å få kontakt med synkroniseringsserveren. Dersom du ikke skal bruke maskinen på nett, kan du redusere forsinkelsen ved å koble den fra nett og slå av trådløs-nettet på PC-en under oppstart og innlogging.
** Jo mer data og flere filer som finnes på hjemmeområdet, desto lenger tid tar synkroniseringen. Opprydding på hjemmeområdet (slette unødige filer ol) vil derfor bidra til at synkroniseringen går raskere.
** Hvis du har filer og mapper som du ikke trenger å ha tilgjengelig på din bærbare PC, kan du flytte dem til et område som ikke synkroniseres. De fleste brukere har to hjemmeområder, ett på Windows-server og ett på Unix-server. Dette kan utnyttes ved at bare hjemmeområdet på Windows-server synkroniseres, mens hjemmeområdet på Unix-server brukes som arkiv for andre filer.
** Normalt synkroniseres filene automatisk hver gang du logger på og av når maskinen er i UiB-nett og har kontakt med synkroniseringsserveren. Du kan imidlertid velge å ikke gjøre dette automatisk ved å endre innstillingene for synkronisering. Det gjør du slik:
1.  Åpne et filbehandler-vindu, f.eks. "My Computer". Velg "Tools" -> "Syncronize...":


# Connecting your laptop to the network wherever you are. (Remember that wired networks normally are faster than wireless networks, so use a cable if available!)
# Connect to UiB with VPN (see [ separate instructions for this]).
# Richt-click "My Documents"
# Select "Synchronize"


[[Fil:Synchronize.png]]


[[File:ManSync.png]]


5. Note any messages appearing!


===Some tips for laptop PCs===


2. I dialogboksen for synkronisering klikker du på knappen "Setup..." nederst:
* Al users who log on to your laptop, get their home directory copied to the PCs hard disk, and their personnal user profile created. Please note that this may fill ut the D: drive, as synchronized data are stored in a hidden location on D:.
* Synchronization requires some time to perform. During the preparation and copying, the PC may appear "busy", making it impossible to perorm other tasks. This may be inconvenient. Here are some tips to reduce the delays caused by synchronization:


[[Fil:SyncSetup.png]]
** If the PC is connected to a network outside of UiB, it will use some time trying to connect to the synchronization server. If you will not be using the computer on the network, you may reduce this delay by disconnecting the network cable and switching off the wireless transmitter during start-up and logon.
** The more data in the home directory, the longer the time used for synchronizing! Clening up you home directory (deleting unneccesary files, moving to archive etc) will thus make the synchronization faster.
** If you have files and folders you don't need available on your laptop, you can move them to a directory which is not synchronized. Most users have two home directories, one om a Windows server and one on a Unix server. You can synchronize only the Windows server directory and use the Uniz server directory as an archive for other files.
**Normally files are synchronized every time you log on and off when the laptop is on the uiB network and connected to the synchronization server. You can choose not to perform this autoatically, by changing the settings for synchronization, like this:
1. Open a Windows Explorer windows, eg "My Computer". Choose "Tools" -> "Syncronize...":




[[File:Synchronize.png]]


3.  Velg fanen "Logon/Logoff". Her kan du velge om synkronisering skal skje ved på- og/eller avlogging. Du kan også velge om du skal bli spurt om bekreftelse før synkroniseringen starter. Hvis du krysser av alle tre alternativene (som i figuren) vil du ved hver på- og avlogging bli spurt om synkronisering skal utføres:


2.  In the dialogue box for synchronization, click the "Setup..." button at the bottom:


[[Fil:SyncSettings.png]]
[[File:SyncSetup.png]]




Merk at hvis du velger bort all automatisk synkronisering, må du selv passe på å synkronisere filene (ved å høyreklikke på "My documents" og velge "Synchronize...") for at filene skal bli synkronisert. Hvis du ikke gjør dette, vil du ikke ha noen server-kopi av nye og endrede filer fra din bærbare PC!
3.  Select the tab "Logon/Logoff". Here you can choose whether synchronization should be perfromed at logon and/or logoff. You may even choose to be asked for confirmation before the synchronization starts. If you select all three alternatives (as shown in the figure below) you will be asked at every logon and logoff if synchronization should be performed.


[[File:SyncSettings.png]]


* Ved synkronisering overføres den siste versjonen av filer. Hvis du har opprettet eller endret en fil på den bærbare PC-en, kopieres den over til serveren og omvendt. Men hvis en fil er endret både på kopien på den bærbare PC-en og på serveren, kan ikke synkroniseringsprosessen avgjøre hvilken versjon som er den riktige. I slike tilfelle vil du få et spørsmål om du vil ta vare på den ene eller den andre eller begge versjonene.
Note that if you choose not to have any automatic synchronization, you must yourself perform the synchronization (by right-clicking "My documents" and selecting "Synchronize...") for your files to be synchronized. If you don't do this, you will not have any server copies of new and modifed files from your laptop!


==Linux==
* At synchronization, the latest version of each file is transfered. If you have created or modified a file on the laptop, it will be copied to the server, and vice versa. But if a file is modified both on the laptop and on the server, the synchronization process cannot decide which version is the right one. In such cases, you will be asked whether you want to keep the one, the other or both versions.
{{UD}}
Les informasjonen på [[Bærbar maskin driftet av IT-avdelingen]].


==GNU/Linux==


Synchronisation of your home directory (or any selection of directories and files) on GNU/Linux (e.g. Ubuntu) and BSDs can be done with [[Unison]].


== Kontakt oss i BRITA (Brukerstøtte ved IT-avdelingen) ==
==Contact the IT Department Service Desk, BRITA==




Dersom du har spørsmål, opplever problemer med maskinen din eller ønsker programvare, ber vi deg om å registrere din henvendelse på http://bs.uib.no eller å ringe oss på telefon 55 58 47 00. Vi setter pris på alle tilbakemeldinger!
If you have any questions, experience problems with you PC or need software, please contact us through [https://hjelp.uib.no/ UiBhjelp], or on phone 55584700. We value all feedback!


[[no:Synkronisering av hjemmeområde til bærbare PC-er ("offline files")]]
[[no:Synkronisering av hjemmeområde til bærbare PC-er ("offline files")]]

Latest revision as of 09:17, 30 July 2020


Windows

Offline files

Laptop computers at UiB are normally configured to make the documents in your home directory available even when the laptop is not connected to the UiB network. This feature is called "offline files".

The home directory is mirrored from the server to the local disk and vice versa.

The mirrored data are available under "My Documents" or "O:\" as usual. The mirrored data are physically stored in a hidden folder on the D:-drive of the laptop.

Laptops without "offline files"

Laptop PCs with offline files should normally be used by one person only. Some Laptops are used by several, eg communal PCs lended by ta department to several users. For such computers, the offline files feature can be disabled.

You can assess whether the offline files feature is active by checking the "My Documents" icon. If it has a small square with two arrows superimposed, offline files is active. All icons thus marked represent data (folders or files) which are synchronized.

My Documents.png

When you store files on a laptop without "offline files", you must make sure to always have a backup copy of your data!

Synchronization

Synkronisering.png


Automatic synchronization in the UiB network

The mirroring of data to and from "offline files" is done by a process of synchronization. This process normally starts when you are loggen in and as you log out of the lapyop when it is connected to tue UiB network.

The synchronization copies all updated files across the network, making your home directory on the server an updated mirror of the local home directory on your laptop. You don't have to compy the files manually!

For the synchronization to work, your laptop must be connected to the UiB network either directly with a wire or through a Virtual Private Network (VPN) connection to UIB.


Manual synchronization over VPN

Synchronization is not performed automatically when your PC is outside the UiB network, eg in your home or on travel.

You can, however, perform the synchronization manually by:

  1. Connecting your laptop to the network wherever you are. (Remember that wired networks normally are faster than wireless networks, so use a cable if available!)
  2. Connect to UiB with VPN (see [ separate instructions for this]).
  3. Richt-click "My Documents"
  4. Select "Synchronize"


ManSync.png

5. Note any messages appearing!

Some tips for laptop PCs

  • Al users who log on to your laptop, get their home directory copied to the PCs hard disk, and their personnal user profile created. Please note that this may fill ut the D: drive, as synchronized data are stored in a hidden location on D:.
  • Synchronization requires some time to perform. During the preparation and copying, the PC may appear "busy", making it impossible to perorm other tasks. This may be inconvenient. Here are some tips to reduce the delays caused by synchronization:
    • If the PC is connected to a network outside of UiB, it will use some time trying to connect to the synchronization server. If you will not be using the computer on the network, you may reduce this delay by disconnecting the network cable and switching off the wireless transmitter during start-up and logon.
    • The more data in the home directory, the longer the time used for synchronizing! Clening up you home directory (deleting unneccesary files, moving to archive etc) will thus make the synchronization faster.
    • If you have files and folders you don't need available on your laptop, you can move them to a directory which is not synchronized. Most users have two home directories, one om a Windows server and one on a Unix server. You can synchronize only the Windows server directory and use the Uniz server directory as an archive for other files.
    • Normally files are synchronized every time you log on and off when the laptop is on the uiB network and connected to the synchronization server. You can choose not to perform this autoatically, by changing the settings for synchronization, like this:

1. Open a Windows Explorer windows, eg "My Computer". Choose "Tools" -> "Syncronize...":


Synchronize.png


2. In the dialogue box for synchronization, click the "Setup..." button at the bottom:

SyncSetup.png


3. Select the tab "Logon/Logoff". Here you can choose whether synchronization should be perfromed at logon and/or logoff. You may even choose to be asked for confirmation before the synchronization starts. If you select all three alternatives (as shown in the figure below) you will be asked at every logon and logoff if synchronization should be performed.

SyncSettings.png

Note that if you choose not to have any automatic synchronization, you must yourself perform the synchronization (by right-clicking "My documents" and selecting "Synchronize...") for your files to be synchronized. If you don't do this, you will not have any server copies of new and modifed files from your laptop!

  • At synchronization, the latest version of each file is transfered. If you have created or modified a file on the laptop, it will be copied to the server, and vice versa. But if a file is modified both on the laptop and on the server, the synchronization process cannot decide which version is the right one. In such cases, you will be asked whether you want to keep the one, the other or both versions.

GNU/Linux

Synchronisation of your home directory (or any selection of directories and files) on GNU/Linux (e.g. Ubuntu) and BSDs can be done with Unison.

Contact the IT Department Service Desk, BRITA

If you have any questions, experience problems with you PC or need software, please contact us through UiBhjelp, or on phone 55584700. We value all feedback!